added points summary

This commit is contained in:
Jakub Senderák
2020-04-22 18:18:48 +02:00
parent aa7b3c1a02
commit f4fd27a5c1
5 changed files with 28 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
def get_points_sums(standings: []):
sums = [0] * 4
for series in standings:
for round in series:
for player, points in enumerate(round):
sums[player] += points
return sums