BrU32

Python Slot Machine SRC W\ Randomized Jackpot Score!!!!!

Jun 17th, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import random
  2. out="N"
  3. score=0
  4. inn=raw_input("To Play Now Enter Y:Yes or N:No:")
  5. rand=random.randrange(1,10)
  6. rand1=random.randrange(1,10)
  7.  
  8. rand2=random.randrange(1,10)
  9.  
  10. if inn=="Y":
  11. print('',rand,rand1,rand2)
  12. if(rand==rand1):
  13. if(rand2==rand1):
  14. score=score+random.randrange(1,199999)
  15. print('Jackpot: ',score)
  16. if (inn=='N'):
  17. print('U Suck!!')
  18. if (inn!='N'):
  19. print('')
Advertisement
Add Comment
Please, Sign In to add comment