Advertisement
Guest User

Coin Flip

a guest
Dec 12th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. import random
  2.  
  3. coin = ["Heads", "Tails"]
  4.  
  5. def coin_flip():
  6.     print(random.choice(coin))
  7.  
  8. coin_flip()
  9. coin_flip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement