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