mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-08 16:07:06 -06:00
'init'
This commit is contained in:
10
python/high-scores/high_scores.py
Normal file
10
python/high-scores/high_scores.py
Normal file
@@ -0,0 +1,10 @@
|
||||
def latest(scores):
|
||||
return scores[-1]
|
||||
|
||||
|
||||
def personal_best(scores):
|
||||
return max(scores)
|
||||
|
||||
|
||||
def personal_top_three(scores):
|
||||
return sorted(scores, reverse=True)[:3]
|
||||
Reference in New Issue
Block a user