Is_int, realy?


#1

What am I doing wrong?

from math import floor

def is_int(x):
    if x - floor(x) > 0:
        print False
    else:
        print True

#2

you need to return True or False depending on if the number is a integer, not print True or False


#3

Thank you. I should read instructions better.:slight_smile:


#4