Question: I'm using the python language program that reads a list of integers into a list as long as the integers are greater than zero, then
I'm using the python language
program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the smallest and largest integers in the list.
Ex: If the input is:
10 5 3 21 2 -6 the output is:
2 21
You can assume that the list of integers will have at least 2 values.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
