Predict the outputExercise 4/6Elementary20 XP

A list of dictionaries

Task

Without running the program, write exactly what it prints.

ziaci = [
{"meno": "Eva", "body": 18},
{"meno": "Ján", "body": 25},
]
najlepsi = ziaci[0]
for z in ziaci:
if z["body"] > najlepsi["body"]:
najlepsi = z
print(najlepsi["meno"])
print(sum(z["body"] for z in ziaci))

Your answer

Put each printed line on its own line.

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.