import the library called 'random', initialise random_numbers to an empty array, iterate 5 times, generate a random number between 1 and 100, add the random number to the end of the random_numbers array, use an in-built function to add all random numbers in the array, use an in-built function to return how many elements are in the array, use an in-built function to round the total to 2 decimal places, display the rounded average.

S3 Python (Code Understanding 4)

Bảng xếp hạng

Phong cách trực quan

Tùy chọn

Chuyển đổi mẫu

Bạn có muốn khôi phục tự động lưu: không?