Prime Numbersfor num in range(1,10): if num == 1: continue elif all(num % i != 0 for i in range(2, num)): print(num) Answer2357YouTube Link:https://youtu.be/EosIKTReXpQ
Post a Comment