#gets a number you chosoe
number = float(input("Enter a number: "))
#the number would be divided by 2 and if its =  0 its even, if its not, its odd
if number % 2 == 0:
    print(number, "is even")
else:
    print(number, "is odd")

3.0 is odd