Question: Design a Python program that uses a loop to build a list named valid_numbers that contains only the numbers between 100 and 1000 from
Design a Python program that uses a loop to build a list named valid_numbers that contains only the numbers between 100 and 1000 from the numbers list below. The program should then determine and display the largest and least of the values in the valid_numbers list. numbers [74, 2119, 1005, 200, -2, 673, 775, 124, -45, 383] valid_numbers-[200,673, 775, 124, 383] = Then output should be: Least: 124 Largest: 775 Note: Any numbers in the list over 1000 or less than 100 should be ignored as they are not in the valid range.
Step by Step Solution
There are 3 Steps involved in it
Declare a list validnumbers numbers 7421191005200267... View full answer
Get step-by-step solutions from verified subject matter experts
