Advertisement
GreatRaymondo

hort

May 24th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. mport random
  2.  
  3. def coin_flip():
  4. heads_tails = random.randint(0,1)
  5. if(heads_tails == 0):
  6. print("heads")
  7. else:
  8. print("tails")
  9.  
  10. coin_flip()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement