Advertisement
Guest User

Untitled

a guest
Jul 5th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. def play_game():
  2.     playing = True
  3.     while playing:
  4.         print("Ready to play some Rock-Paper-Scissors with Jay?\n------------------------------------")
  5.         user = input("Enter 'R', 'P', 'S', 'quit'\n")
  6.         new = user
  7.         continue
  8.  
  9.  
  10.  
  11. I run this function and put an input, and its saying 'user' is not defined. I tried adding user = '' and defining user after the function and no luck. why isnt user being defined after I run the damn function and give it user input??????
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement