Source Code:
(back to article)
x = 5 if type(x) is int: print("x is an integer") else: print("x is not an integer")
Result:
Report an issue