Question: 3 . 9 LAB: Smallest and largest numbers in a list using min and max built - in functions NOTE 1 : Please make sure

3.9 LAB: Smallest and largest numbers in a list using min and max built-in functions
NOTE1: Please make sure you complete previous lab successfully before you proceed with this Lab assignment
NOTE2: Make sure to copy and past your code from previous lab into here and update it to complete this lab
Write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the list values and the smallest and largest integers in the list using min and max built-in functions .
Ex: If the input is:
10
5
3
21
2
-6
the output is:
[10,5,3,21,2]
2 and 21

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 Databases Questions!