Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PYTHON ONLY Lab 6 b: For this lab, you will need to write two different files; one called MyMath.py , and one called Lab 6
PYTHON ONLY Labb: For this lab, you will need to write two different files; one called MyMath.py and one called LabBpy Inside of MyMath.py write the following three methods: mymaxnumone, numtwo: returns the largest between the two inputs myminnumone, numtwo: returns the smallest between the two inputs myavgnumone, numtwo: returns the mean average of the two inputs Inside LabBpy import MyMath.py After that, prompt the user for two numbers, and then pass both numbers as arguments to each of MyMath's methods, making sure to print out the result as in the sample output below user input in bold Note: You can assume that the user will only ever enter numbers when prompted. Sample output #: Enter number : Enter number : Min is Max is Average is Sample output #: Enter number : Enter number : Min is Max is Average is
PYTHON ONLY
Labb: For this lab, you will need to write two different files; one called
MyMath.py and one called
LabBpy
Inside of
MyMath.py write the following three methods:
mymaxnumone, numtwo: returns the largest between the two inputs
myminnumone, numtwo: returns the smallest between the two inputs
myavgnumone, numtwo: returns the mean average of the two inputs
Inside
LabBpy import
MyMath.py After that, prompt the user for two numbers, and then pass both numbers as arguments to each of MyMath's methods, making sure to print out the result as in the sample output below user input in bold
Note: You can assume that the user will only ever enter numbers when prompted.
Sample output #:
Enter number :
Enter number :
Min is
Max is
Average is
Sample output #:
Enter number :
Enter number :
Min is
Max is
Average is
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started