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
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 to Expert-Tailored 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

Recommended Textbook for

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions

Question

Find each integral. J 3Vcos x (sin x) dx

Answered: 1 week ago

Question

Discuss communication challenges in a global environment.

Answered: 1 week ago