from random import randint print(1 if True else 2) x = randint(0,9)print ("par" if x % 2 == 0 else "impar")
Standard input is empty
1 par
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!