Find the bugElementary20 XPExercise 15/15

An average that is off

Task

The program should print the average of the numbers in the list - the right answer is 18.0 - but it prints 17.333333333333332. Select the line with the bug.

Your answer

Click the line with the bug.

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.