def f(x): return x + 1 def g(x): return x + 2 print(f.__code__.co_code == g.__code__.co_code)
Standard input is empty
True
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!