In class exercise, rewrite the following function and to return the max, the min and the first input: def q30): # get yo

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
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

Post 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 49 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply