Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored 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