Question: Ask the user to enter 1 0 numbers using a loop. Each number is stored in a list called myList. Compute and print out the
Ask the user to enter numbers using a loop. Each number is stored in a list called myList. Compute
and print out the sum and average of the items in the list. Print the numbers that are divisible by from
myList.
b Instead of using a list, use an accumulator to store the numbers entered by the user. An accumulator
is set to zero before the start of the loop eg total Also compute and print out the sum and average
of the items entered by the user
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
