Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def nba_player_tool(playerName:str)-> str: #it's import to specify the return ty
|
|
| 32 |
gamesPerYear += f"year: {str(player.season)} games played: {str(player.games)}"
|
| 33 |
|
| 34 |
|
| 35 |
-
f"Games palyed per year: {playerName}: {gamesPerYear}"
|
| 36 |
except requests.exceptions.RequestException as e:
|
| 37 |
return f"Error en la solicitud: {e}"
|
| 38 |
except json.JSONDecodeError as e:
|
|
|
|
| 32 |
gamesPerYear += f"year: {str(player.season)} games played: {str(player.games)}"
|
| 33 |
|
| 34 |
|
| 35 |
+
return f"Games palyed per year: {playerName}: {gamesPerYear}"
|
| 36 |
except requests.exceptions.RequestException as e:
|
| 37 |
return f"Error en la solicitud: {e}"
|
| 38 |
except json.JSONDecodeError as e:
|