In Python:
Use Qt Designer to create a GUI that lets a user enter three numbers, and then click on either a “max” or a “min” button, after which the user is shown the max or min, respectively, of the three entered numbers. (You may use line edit widgets for both the input and the output, or a different choice if you prefer.)
Expert Answer
number = int(raw_input(“Please enter a number: “))
num_list = [] while (number != int(-1)): num_list.append(number) number = int(raw_input("Please enter a number: ")) high = max(num_list) low = min(num_list)