Advertisement
JkSoftware

Day 4 - Heads or Tails

Nov 6th, 2021
869
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2.  
  3.  
  4.  
  5. next = input("Press ENTER to Flip da coin")
  6. flip = random.randint(1, 2)
  7. if flip == 1:
  8.     print("HEADS")
  9. elif flip == 2:
  10.     print("TAILS")
  11.    
  12.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement