initialise numbers to an empty array, iterate 10 times, add the number entered to the end of the numbers array, set a total to 0, add the value at numbers position[i] to the total, use an in-built function round() to display total to 2 decimal places.

S3 Python (Code Understanding 3)

Rankningslista

Visuell stil

Alternativ

Växla mall

Återställ sparas automatiskt: ?