质数
'''
# isPrimes()判断一个数是不是质数
'''
def isPrimes(n):
for i in range(2,n):
if n%i == 0:
return False
break
else:
return True
while True:
start = int(input('开始的数:'))
end = int(input('结束的数:'))
l = []
for i in range(start, end+1):
if isPrimes(i):
l.append(i)
print(l)