CJCoding With Joseph
15free / daySign inCreate account

Highest Score In The Dict

Find the highest value in the dict scores with a loop rather than max: start a variable at 0, visit every key, and whenever that key's value is larger than the variable, store the value. Print the result in the form Highest: <value>. Input: none. Output: one line.

Expected Output:

Highest: 92

= 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.