Question: Code is in python 3.6 plese put the code exact as it is in zybooks, thank you so much. 5.20 LAB: Maximum and minimum Instructor

Code is in python 3.6 plese put the code exact as it is in zybooks, thank you so much.Code is in python 3.6 plese put the code exact as itis in zybooks, thank you so much. 5.20 LAB: Maximum and minimum

5.20 LAB: Maximum and minimum Instructor note: This lab follows directly from #TODO: 1 of the "for-loop Continued" video on Canvas. Write a program that reads several integers one-by-one and then outputs the minimum and maximum integer. The program begins by prompting the user for the total number of integers that need to be read. Ex: If the input is: 6 5 -3 21 2 -6 0 the output is: - 6 and 21 Note that in this example, the first integer 6 refers to the total number of integers that will follow. You can assume that the sequence of integers will have at least 2 values. HINT: float('inf') is larger than every other float, and float('-inf') is smaller than any ever float. You may find these useful as variable initializers, when you are tracking minimum and maximum. 299578.1827332 Note that in this example, the first integer 6 refers to the total number of integers that will follow. You can assume that the sequence of integers will have at least 2 values. HINT: float('inf') is larger than every other float, and float('-inf') is smaller than any ever float. You may find these useful as variable initializers, when you are tracking minimum and maximum. 299578.1827332 LAB ACTIVITY 5.20.1: LAB: Maximum and minimum 0/10 main.py Load default template... 1 2 Type your code here. Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box

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!