Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 6 B: For this lab, you will need to write two different files; one called MyMath.py , and one called Lab 6 B .

Lab6B: For this lab, you will need to write two different files; one called
MyMath.py, and one called
Lab6B.py.
Inside of
MyMath.py, write the following three methods:
my max(num one, num_two): returns the largest between the two inputs
my min(numaone, numbotwo): returns the smallest between the two inputs
my axg(num_one, num
Inside
Lab6B.py, 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.
In Python please
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions