+ 1

How to print prime numbers form 1 up to n , in python?

By using for loop,if and else

19th Nov 2019, 7:15 PM
Rohullah Sarabi
Rohullah Sarabi - avatar
4 Réponses
+ 5
What have you done so far in coding to achieve this task? Can you please link your code here?
19th Nov 2019, 7:19 PM
Lothar
Lothar - avatar
+ 2
Please add Python in your question tags buddy 👍
20th Nov 2019, 6:33 AM
Ipang
+ 1
There is a question: Write a Python program to find sum of all prime numbers between 1 to n using for loop.
19th Nov 2019, 7:25 PM
Rohullah Sarabi
Rohullah Sarabi - avatar
20th Nov 2019, 11:32 PM
Rora