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 10 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 2 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 (e.g. total =0). 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!