Question: In python also Heres the specific template I want to use #input #calc #output / print 4 . For each question you must provide output
In python
also Heres the specific template I want to use
#input
#calc
#outputprint For each question you must provide output for test runs use the sample test run data already provided plus the rest yourself For each question that do not have test runs a zero will be given even if the program runs correctly.
You must use the data in the sample test runs that are given in the question. Provide your own data whenever there is no sample run data.
If the program does not run a zero will be given
Your test run must be exactly the same as the sample test run specifications provided. If the program runs but does not fulfill all the specifications stated in the question, a zero score will be given.
Use topics covered in class up till setsLesson to Lesson Using global variables and topics or tools not in Lesson to Lesson will result in a zero for that question.
all functions must include docstrings and type hintsannotations Programs with functions must have the statement at the end of the program before calling the main function. Functions must be separated with blank line spacings.
if namemain:
NO GLOBAL VARIABLES ALLOWED FOR THIS LAB, a zero will be given to any program with global variable. The break and continue statements are not allowed and a zero will be given for the program that contains those two statements.
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
