Oops, try again. Your function fails on isint(-2). It returns False when it should return True._
I feel like I'm missing something that was referenced in a previous exercise, but I cannot tell what it is. I know that I have seen this code used before in a previous exercise, if anyone could point me towards it, I would be grateful.
def is_int(x): if x == int(): return True else: return False