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)

排行榜

视觉风格

选项

切换模板

恢复自动保存: