Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started