Question: This code should keep taking input from the user until the user enters a -1. When the user enters a -1, display the minimum value

This code should keep taking input from the user until the user enters a -1. When the user enters a -1, display the minimum value and the maximum value entered by the user upto that point.

$ python3 minmax.py Please enter a number:10 Please enter a number:110 Please enter a number:4 Please enter a number:5 Please enter a number:12 Please enter a number:45 Please enter a number:-1 The Minimum value: 4 The Maximum value: 110 

comments would appreciated!!!

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!