Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want to solve these questions using Python, please Write a Python program to perform the following a) Create a void function that will display
I want to solve these questions using Python, please
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 Discount 0 to 100 5% of Units Consumed 101 to 200 7% of Units Consumed More than 200 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) Greate 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 GPStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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