list_error = []
list = []
list_x = [i for i in range(2,1_0_0_0_0_0)] # 2,
list_y = [i for i in range(2,1_0_0_0_0_0)] # 2,
for x in list_x:
for y in list_y:
if x not in list_error or x not in list_error:
if x / y != 1 and x % y == 0:
list_error.append(x)
break
elif x / y == 1:
list.append(x)
break
else :
pass
print(f'{list}\n\n\t\t\t |Len : {len(list)}')#\n\n\n\t\t\t\t\t\
#| End =={list[10000]},{list[10001]}')