File size: 225 Bytes
a9bb6d0
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
# leaderboards.py
def get_leaderboards():
    # Fetch leaderboard data (could be from a database)
    rankings = [
        {"player": "John", "points": 200},
        {"player": "Tom", "points": 180}
    ]
    return rankings