what is the problem friends?why it is not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is the problem friends?why it is not working

code problem https://code.sololearn.com/c0tE5u8nqxca/?ref=app

14th Sep 2020, 9:50 AM
Abhinraj
2 Answers
+ 5
By naming your variable 'range', you are effectively overwriting the original range() function defined in Python. Use a different variable name for range. You also want to check line 29: Did you mean 'semiprimes' instead of 'semprimes'?
14th Sep 2020, 9:58 AM
Hatsy Rei
Hatsy Rei - avatar
+ 3
Hatsy Rei Thanks bro.problem solved ☺😊
14th Sep 2020, 10:01 AM
Abhinraj