In class exercise, rewrite the following function and to return the max, the min and the first input: def q30): # get yo
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In class exercise, rewrite the following function and to return the max, the min and the first input: def q30): # get yo
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!