Spaces:
Runtime error
Runtime error
File size: 282 Bytes
aa9c958 |
1 2 3 4 5 6 7 8 9 |
# 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
|