OK
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ class Scoring:
|
||||
for row in rows:
|
||||
table.append(row.split(" - "))
|
||||
table.sort(key=lambda x: int(x[1]), reverse=True)
|
||||
return table
|
||||
return table[:3]
|
||||
|
||||
def add_point(self, value):
|
||||
self.points += value
|
||||
Reference in New Issue
Block a user