simple game program
### Debug this simple game program. The game should generate a random number between 0 and 100 ### when the user hits Enter. The user can stop the game by typing "Stop". ### A score over 50 should result in a win. import random roll == raw_input("Press Enter to Spin the Wheel or Type ""Stop""!") while roll == " ": prize = random.randint(0, 100) print "You're number is " str(prize) "!" if prize < 50 print "Sorry, you didn't win. Try again" if prize > 50 print "Congratulations! You're a winner!" roll = raw_input("Press Enter to Spin the Wheel or type 'stop'!") if roll == "Stop": prnt "Thank you for playing" else: print "Well, so long!"
"Looking for a Similar Assignment? Order now and Get 10% Discount! Use Code "Newclient"
