# your code goes heredef is_int(x): return x == int( x ) print(is_int(1.1))print(is_int(1.0))print(is_int(1))
Standard input is empty
False True True
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!