Advertisement
JkSoftware

Day 4 - Heads or Tails

Nov 6th, 2021
917
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement