How to write a program to find sum of first 10 prime numbers using for loop in python | SoloLearn: Learn to code for FREE!

+1

How to write a program to find sum of first 10 prime numbers using for loop in python

7/7/2020 12:30:46 PM

ASHUTOSH

3 Answers

New Answer

+7

Show your attempt

+3

i=0 While count<10: If prime number: count+1 hopefully you know how to find a prime number or you can show your attempt so we can further help you

0

Here i have a code that find whether a number is prime or jot maybe u can try looping the function and adding them...Share the code if u succeed :) https://code.sololearn.com/cUdLXB1Z8h10/?ref=app