giravar commited on
Commit
075de00
·
verified ·
1 Parent(s): 4b09b7c

uopadate result

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def nba_player_tool(playerName:str)-> str: #it's import to specify the return ty
29
 
30
  gamesPerYear:str
31
  for player in data['results']:
32
- gamesPerYear += str(player.season) + str(player.games)
33
 
34
 
35
  f"Games palyed per year: {playerName}: {gamesPerYear}"
 
29
 
30
  gamesPerYear:str
31
  for player in data['results']:
32
+ gamesPerYear += f"year: {str(player.season)} games played: {str(player.games)}"
33
 
34
 
35
  f"Games palyed per year: {playerName}: {gamesPerYear}"