Advertisement
jackieradallhazik

Mini Game

Aug 4th, 2016
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. from random import randint
  2. while True:
  3.     a = randint(1,10)
  4.     b = raw_input('pick 1 to 10 : ')
  5.     try:
  6.         print  ['Lose xD','!!!!!!!!Win!!!!!!!'][a == int(b)]
  7.     except ValueError:
  8.         print 'again bitch !'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement