subject

Write a program in file MinMax. py that accepts an arbitrary number of integer inputs from the user and prints out the minimum and maximum of the numbers entered. The user will end the input loop by typing in the string 'stop'. When the user enters 'stop' your program should print out the minimum integer entered and the maximum integer entered. If the user enters 'stop' immediately (i. e., before any numbers are entered), you'll print a slightly different message. See the examples below: You can assume that the values entered are integers (positive, negative or zero) or the string 'stop' (lowercase). You don't have to validate the inputs. > python Min Max. py Enter an integer or 'stop' to end: stop You didn't enter any numbers > python Min Max. py
Enter an integer or 'stop' to end: -10
Enter an integer or 'stop' to end: 0 Enter an integer or 'stop' to end: +42
Enter an integer or 'stop' to end: 87 Enter an integer or 'stop' to end: -100
Enter an integer or 'stop' to end: stop The maximum is 87 The minimum is -100

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:00
Answer these and get 40 points and brainliest
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
Fast answer i need for apex ! smartphones should be banned from the classroom in public schools so that students cannot cheat on test so easily? which is an example of a counter argument to the thesis above? a.the classroom is a place for learning not for making phone calls b. smartphones are useful learning tools in the modern classroom c.banning smartphones will not students pay attention to teachers any better d. banning smartphones would decreased incidents of theft
Answers: 2
question
Computers and Technology, 25.06.2019 06:30
During which stage do you think is the best time for a company to purchase an emerging technology
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
What is the requirement for self-contained recovery devices
Answers: 1
You know the right answer?
Write a program in file MinMax. py that accepts an arbitrary number of integer inputs from the user...
Questions
question
Physics, 05.05.2020 06:47
question
Mathematics, 05.05.2020 06:47
question
English, 05.05.2020 06:47
question
Biology, 05.05.2020 06:47
question
Mathematics, 05.05.2020 06:47
Questions on the website: 13722360