a = int(input("Type a whole number greater than 1. "))
for b in range (2,a):
if int(a/b) == (a/b):
print (a, " is not special.")
break
else:
print (a, " is special.")
Some numbers are special, some are not. Input some numbers to find out what these 'special' numbers are more usually called.
What does: if int(a/b) == (a/b) mean?
This version might give a clue.
a = int(input("Type a whole number greater than 1. "))
for b in range (2,a):
print(b)
print(a/b)
if int(a/b) == (a/b):
print (a, " is not special.")
break
else:
print (a, " is special.")