+ 1
Just started Python
Hello I just started learning python and decided to test my skills. Unfortunately my program doesn't seem to be working. It's meant to find all the primes. Can anyone help me please? https://code.sololearn.com/c9G2NQgl4KiM/?ref=app Edit: Thanks Russ, that helped a lot!
1 Resposta
+ 2
Line 10: false -> False
At the end:
for num in getPrimes():
print(num)
The problem then is that you don't get any output because you have created an infinite loop (which would work normally but not here on SoloLearn). Great code though 👍