Prime numbers | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Prime numbers

Whatā€™s wrong in my code? the task is to find all the primes in the range a - b https://code.sololearn.com/c88zt508yqmK/?ref=app

4th Apr 2021, 7:08 PM
Sergey Rogalenko
2 Respostas
+ 4
May be range(b+1)?
4th Apr 2021, 7:38 PM
Š•Š²Š³ŠµŠ½ŠøŠ¹ Š”ŠµŠ¼ŠøŠ“Š¾Š²
Š•Š²Š³ŠµŠ½ŠøŠ¹ Š”ŠµŠ¼ŠøŠ“Š¾Š² - avatar
0
b+1 thatā€™s right!!! šŸ¤¦ā€ā™‚ļøšŸ¤¦ā€ā™‚ļøšŸ¤¦ā€ā™‚ļø Thank you much!!!
4th Apr 2021, 9:03 PM
Sergey Rogalenko