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