📅  最后修改于: 2022-03-11 14:46:49.849000             🧑  作者: Mango
lowernum = int(input(“Enter your lower number”))
uppernum = int(input(“Enter your upper number”))
for num in range(lowernum,uppernum +1):
if num> 1:
for num in range(2,num):
if (num % 1) == 0:
break
else:
print(num)