Write a 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 3 21 2 -6...


please explain python


Write a 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<br>integers in the list.<br>Ex: If the input is:<br>10<br>3<br>21<br>2<br>-6<br>the output is:<br>2 and 21<br>You can assume that the list of integers will have at least 2 values.<br>

Extracted text: Write a 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 3 21 2 -6 the output is: 2 and 21 You can assume that the list of integers will have at least 2 values.

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here