def prime_list():
default = 2
list = [2,3,5,7]
while True:
for i in range(2,20):
if i%2==0 or i%3==0 or i%5==0 or i%7==0:
i += 1
else:
list.append(i)
break
return list
if __name__ == '__main__':
print(prime_list())