print "Type a number"
num = int(raw_input("> "))
if num % 2 == 0:
print "This is not a prime number"
else:
print "This is a prime number"
When I type '9' it says it's a prime number, which it isn't:
Type a number
> 9
This is a prime number
Is my code too simple? Is there something it doesn't check?