✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Tekintse az alábbi kódrészletet:
scores = [("Bence", 72), ("Anna", 95), ("Csilla", 58)]
print(sorted(scores, key=lambda s: s[1]))
Mit ír ki a kód, és miért?