This part says I can't just test for type integer though?
This means that, for this lesson, you can't just test the input to see if it's of type int.
if I could use int I could do:
This means that, for this lesson, you can't just test the input to see if it's of type int.
if I could use int I could do:
def is_int(x): if x == type<int>: return True else: return False