Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random # import random
- def coin_flipper(): # function random
- coin = random.choice(["head","tail"]) # pick the choice
- print(coin)
- coin_flipp() # call function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement