daily pastebin goal
39%
SHARE
TWEET

coin flip def

zhongnaomi Jan 22nd, 2019 (edited) 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import random
  2.  
  3. def coin_flip():
  4.  
  5.     coin_side = ["head", "tail" ]
  6.     print(random.choice(coin_side))
  7.  
  8. coin_flip()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top