Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def coin_flip():
- import random
- flip = random.randint (1,2)
- if flip==1:
- print ("Heads")
- else:
- print ("Tails")
- coin_flip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement