This program is supposed to print the average of a list of scores. It runs without crashing — but the number it prints is wrong. This is a logic bug: the code does something, just not the right thing.
The scores are [10, 20, 30]. Add them up (60) and divide by how many there are (3) and the average should be 20.0. But the starter prints 30.0.
Use print to debug
When the output is wrong, add temporary print() lines to see the values your program is actually working with. For example, add this line before the average line:
print("total is:", total)
Run it and you'll see total is: 60 — so the total is correct. That tells you the bug is in the division, not the sum.
Your task
Look at the line that computes average. It divides by 2, but there are three scores. Fix it so it divides by the actual number of scores using len(scores).
When fixed, the program should print exactly:
Average: 20.0
(You can remove your temporary debug print once it works.)