Question: The following program fills a list called values with ten random numbers between 1 and 100, and computes both the maximum and the minimum of
The following program fills a list calledvalueswith ten random numbers between 1 and 100, and computes both the maximum and the minimum of the list simultaneously using a while loop.
Sample Run
The list is [50, 65, 81, 73, 58, 61, 91, 80, 39, 2]
Maximum value = 91
Minimum value = 2
from random import randint
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
