[10 marks] Click the link below to see the code for a program. Your task is as in assignment 3: re-write the code of
[10 marks] Click the link below to see the code for a program. Your task is as in assignment 3: re-write the code of this program so that, to a user of the program, it works as before, but in your version the code itself is clearer and easier to follow. For example, in your version: Variable and function names are clear and meaningful. Functions are used as appropriate. Comments are used as appropriate. There is no unnecessary or unneeded code; the code is as clean and simple as possible while accomplishing the same task(s) as the original version. In addition to the re-written code itself, your version of the program should also include comments at the top describing the changes you made to the code and why you marde them. Submission instructions: Your program must include a comment at the top with your name and the question number (in addition to the comments describing the changes you made) Your file name should be final_q2_INITIAL_LASTNAME.py (eg., if your name is Rob Allen, your submission would be final_q2_R Allen.py)
Step by Step Solution
3.43 Rating (162 Votes )
There are 3 Steps involved in it
Step: 1
Picture of code Code to copy def passedSubjectsMarks ...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