Question: Module 3 Required Coding Activity Introduction to Python Unit 1 This is an activity based on code similar to the Jupyter Notebook Practice _ MOD

Module 3 Required Coding Activity
Introduction to Python Unit 1
This is an activity based on code similar to the Jupyter Notebook Practice_MOD03_1-4_IntroPy.ipynb and Practice_MOD03_1-5_IntroPy.ipynb
which you may have completed as practice.
This program requires the use of if, elif, else, and casting between strings and numbers. The program should use the various code
syntax covered in module 3.
The program must result in print output using numeric input similar to that shown in the sample below. You must include your full name in the
input prompt. See sample input below for more detail.
Program: Cheese Order Function
define function with max, min, price, and order_amount parameters
set default values for maximum and minimum order parameters
set default value for price parameter
cast order_amount and other arguments to numbers
check order_amount and give message checking against
over maximum
under minimum
else within maximum and minimum give message with calculated price
call your function using order weight input from user
Sample input and output:
[YOUR FULL NAME GOES HERE], enter cheese order weight (numeric value): 113
113.0 is more than currently available stock
 Module 3 Required Coding Activity Introduction to Python Unit 1 This

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!