Question: Design a program that uses a loop to build a list named valid_numbers that contains only the numbers between 0 and 100 from the numbers

Design a program that uses a loop to build a list named valid_numbers that contains only the numbers between 0 and 100 from the numbers list below. The program should then determine and display the total and average of the values in the valid_numbers list.

numbers = [74, 19, 105, 20, −2, 67, 77, 124, −45, 38]

Step by Step Solution

3.30 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Python numbers 74 19 105 20 2 67 77 124 45 3... View full answer

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 Starting Out With Python Questions!