The code executes fine, the problem is in the instruction box. It states "you can't just test the input to see if it's of type int."
So that means you cant use the function int(x) to compare. How can you check for an INT without using Boolean with the int() method?
I would like to see another example of how you can check for int with out using int() like I have. The lesson accepted the output and I was able to continue, but I feel like something is not correct because I used the int() method when the instructions said not to.
def is_int(x): if x == int(x): return True else: return False