Advertisement
GreatRaymondo

headsortails

Mar 30th, 2020
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. import random
  2. def coinFlip():
  3. f = random.randint (0,1)
  4. if f ==0:
  5. print("Heads")
  6. else:
  7. print("Tails")
  8.  
  9. coinFlip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement