I must be having a bad day because this is the second one in a row I can't figure out.
Oops, try again. Your function fails on is_int(-2). It returns False when it should return True.
It's supposed to check to see if a number is an integer and include negatives and decimal zeros.
def is_int(x): if x == int: return True else: return False