def judge(n): for i in range(2,n//2): if n%i == 0: return False return True for i in range(100,201): if judge(i): print(i)