Question
You are highly advise to read through the entire instruction carefully especially the QUESTION and INSTRUCTION part before writing any code. Follow every single instruction
You are highly advise to read through the entire instruction carefully especially the QUESTION and INSTRUCTION part before writing any code. Follow every single instruction closely to avoid marks deduction. Read and understand the question properly before writing any code. Your work will be marked automatically by another program. Therefore, you must ensure your function name are defined correctly (case sensitive) as specified in the instruction for each question. No partial marks will be given for minor error in each question. Student must ensure the solution file is syntax error free, properly indented and must be runnable when imported into a separate main program / file. Main function is not required in the solution file. input() function call is not required throughout this entire assessment.
TASK 1: CREATE SOURCE CODE FILE You are required to create a source file which containing all the required source code for the following question and tasks. Name the source file as _solution.py. For example: JohnSmith_solution.py. You are highly advice to test your source code with a separate source file i.e. main.py which will import your solution file.
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