title: Why does scorecard not respond what I want to realize
body: <p>I want to create a scorecard for a game. But I am new to Python. See any help is appreciated.
  What I want to realize is a scorecard, that when 5000 points is reached the round stops ans the other players that didn’t have their turns, they still mat finished there turn.</p>
  <p>Thanks!</p>
  <p>This is the code that I have until now:</p>
  <pre><code>players = []
  
  
  def howManyPlayers ():
      countPlayers = int(input(&quot;How many players: &quot;))
      for x in range(countPlayers):
          namePlayer = input(&quot;Name Player: &quot;)
          players.append(namePlayer)
      print(players)
      print(&quot;Let the game begin!&quot;)    
  
  def game():
      scorePlayers = {}
      number = 0
      newScore = 0
      while number &lt; 5000:
          for player in players:
              number = int(input(&quot;Score: &quot;))
              newScore = newScore + number
              scorePlayers[player] = newScore
              for key, value in scorePlayers.items():
                  print(key,value)
      else: print(&quot;Game over&quot;)
  
  
  howManyPlayers()
  game()
  </code></pre>