//range of all prime number starts with 5 for n in range (500,600){ for i in range (2,math.sqrt(n)){ if n%i==0 break else print("n")}