Spaces:
Runtime error
Runtime error
# scorecard.py | |
def get_scorecard(): | |
# Fetch player performance data (from a database or API) | |
player_scores = [ | |
{"player": "John", "runs": 50, "balls": 30, "wickets": 1}, | |
{"player": "Tom", "runs": 30, "balls": 40, "wickets": 0} | |
] | |
return player_scores | |