+ 2
I created a code to print list of all primes from 2 to 50..but it's not working...plz help
2 ответов
+ 7
Your code was very close, but had one small issue. You were essentially adding every non-prime number. A simple not fixes this:
https://code.sololearn.com/cMeA7PMPkuM6/?ref=app
+ 2
Jax That's very kind of u man...thnx