feat: tutorial for hints

This commit is contained in:
Sandro Zimmermann 2026-04-09 12:08:42 +02:00
parent 69ac65795a
commit 2f88ebe668

View File

@ -0,0 +1,8 @@
def load_scores(data: list[tuple[str, str | int]]) -> dict:
result = {}
for name, points in data:
result[name] = int(points)
return result
print(load_scores([("Sandro", "54"), ("Arif", "45"), ("Sidney", 89)]))