title: my rock paper scissors game is not running on visual studio code
body: <p><a href="https://i.stack.imgur.com/rpLg0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rpLg0.png" alt="Screenshot" /></a></p>
  <p>I think something is wrong with this code it won't run. I'm using visual studio code.</p>
  <p>When I run it displays:</p>
  <p>&amp; C:/Users/user/AppData/Local/Programs/Python/Python310/python.exe &quot;c:/Users/user/New folder/main.py&quot;</p>
  <pre><code>import random
  
  isPlaying = True
  
  li = ['rock', 'paper', 'scissors']
  
  while isPlaying == True:
  
      computer_choice = random.choice(li)
      player_choice = input('Rock, paper or scissors? Use q to quit.\n').lower()
  
  
      if player_choice == computer_choice:
          print('Tie!')
  
      elif player_choice == 'rock':
          if computer_choice == 'scissors':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Win!')
          elif computer_choice == 'paper':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Lose!')
  
      elif player_choice == 'paper':
          if computer_choice == 'rock':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Win!')
          elif computer_choice == 'scissors':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Lose!')
  
      elif player_choice == 'scissors':
          if computer_choice == 'rock':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Lose!')
          
          elif computer_choice == 'paper':
              print(f'You chose {player_choice}, and the computer chose {computer_choice}!')
              print('Win!')
  
      elif player_choice == 'q':
          quit()
  
      else:
          print('Invalid choice, use rock, paper or scissors.')
  </code></pre>