CJCoding With Joseph
15free / daySign inCreate account

Find The Oldest

The dict of dicts people holds an inner dict with an age for each person. Find the oldest with a loop and no max, remembering the largest age seen and the name it belongs to, and print <name> is the oldest at <age>. Input: none. Output: one line.

Expected Output:

omar is the oldest at 23

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
Dictionaries
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.