Oops, try again. Your function fails on is_int(-2). It returns None when it should return True.
I am confused because I need for the code to tell me what is an integer. I tried using its hint that says, If the difference between a number and that same number rounded down is greater than zero, what does that say about that particular number?" but it didn't help. Help! thanks
Replace this line with your code. import math def is_int(x): if int(x-x) < 0: print ("True") else: print ("False")