Page 1 of 1

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
by answerhappygod
In Class Exercise Rewrite The Following Function And To Return The Max The Min And The First Input Def Q30 Get Yo 1
In Class Exercise Rewrite The Following Function And To Return The Max The Min And The First Input Def Q30 Get Yo 1 (39.6 KiB) Viewed 51 times
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