3. is_int


#1

returned elif syntax error and is_int not defined

def is_int(x):
if type(x) == int:
return True
else:
if x == str(x) + "." + "0":
return True
elif:
x<0
return True
else:
return False

`


#2

please keep the discussion in one topic:


#3