# your code goes hereimport randomx = random.randint(1, 2)if x == 1: print("heads")else: print("tails")
Standard input is empty
heads
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!