# your code goes hereimport randomimport timex = random.randint(1, 2)time.sleep(5)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!