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 Required Coding Activity
Introduction to Python Unit
This is an activity based on code similar to the Jupyter Notebook PracticeMODIntroPy.ipynb and PracticeMODIntroPy.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
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 orderamount parameters
set default values for maximum and minimum order parameters
set default value for price parameter
cast orderamount and other arguments to numbers
check orderamount 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:
is more than currently available stock
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
