Raspberry Pi Pico practice problem · Raspberry Pi Pico
Average and maximum
MediumMicroPython
Read a count, then that many whole numbers, one per line. Print the average as a decimal and the maximum. The test enters 3, 10, 20, 30; print average 20.0 and max 30.