def check(num): if num % 2 == 0: print("even") else: print("odd") print(check(3))print(check(2))
Standard input is empty
odd None even None
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!