I need assistance with the following Python 3 Exercise:

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

I need assistance with the following Python 3 Exercise:

Post by answerhappygod »

I need assistance with the following Python 3 Exercise:
I Need Assistance With The Following Python 3 Exercise 1
I Need Assistance With The Following Python 3 Exercise 1 (66.78 KiB) Viewed 28 times
Write a function largestNum that finds the largest of three numbers. Examples Input: 12, 25, 52 Output: 52 Input: -2, 10, 0 Output: 10 Input: 7, 2, 7 Output: 7 Note: you must implement this method without using the max () function in Python. 868 55 GSG 13 14 # The function accepts following parameters: 1. INTEGER num1 15 # 16 # 2. INTEGER num2 17 # 3. INTEGER num3 18 # def largestNum (num1, num2, num3): # Write your code here name__ == '__main__': num1 = int(input().strip()) num2 = int(input().strip()) num3 = int(input().strip()) largestNum (num1, num2, num3) 19 20 21 22 23 vif 24 25 26 27 28 29 30 31
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply