Question: Write a Python program to perform the following a) Create a void function that will display the company name Majan Corporation. b) Create a function

Write a Python program to perform the following a) Create a void function that will display the company name "Majan Corporation. b) Create a function with return value and with parameters that will compute the Discount. The Discount is computed as per the following Units Consumed 0 to100 101 to 200 More than 200 Discount 5% of Units Consumed 7% of Units Consumed 9% of Units Consumed Display all your output in the main program by calling the results from each function. Write a Python program to perform the below: a) Create an empty list named Marks b) Input n number of Marks and add to the list Marks c) Compute the Grade based on the following conditions Grade = 1, if the Marks is in between 71 to 100 Grade = 2, if the Marks is in between 50 to 70 Otherwise Grade = 3 d) Store the Grade in another list named GP e) Display the list Marks and GP
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
