In class exercise, rewrite the following function and to return the max, the min and the first input: def q30): # get yo
Posted: Mon Mar 21, 2022 4:40 pm
In class exercise, rewrite the following function and to return the max, the min and the first input: def q30): # get your input currentMax = float(0) newinput = float(0) while newInput >= 0: newInput = float(input()) if newInput > currentMax: currentMax = newinput #output return currentMax