Question
An Internet service provider offers four subscription packages to its customers, plus a discount for nonprofit organizations: Package A: 10 hours of access for $12.95
An Internet service provider offers four subscription packages to its customers, plus a discount for nonprofit organizations:
Package A: 10 hours of access for $12.95 per month. Additional hours are $4.00 per hour.
Package B: 20 hours of access for $14.95 per month. Additional hours are $2.00 per hour.
Package C: 30 hours of access for $20 per month. Additional hours are $1.00 per hour.
Package D: Unlimited access for $35.95 per month.
A nonprofit organizations will get 20% discount on all packages.
Create a Python program that asks user to enter the following information:
a. The Package customer selects
b. The hours used
c. Is the customer a non-profit organization
And compute the monthly charge accordingly.
Loco package.py* 1def main(): 2 # User input the requied information 3 package=input("Enter the Package :") 4 hour = int(input("Enter hours used : ")) 5 flag = input("Is the customer a non-profit organization : ") 6 pack = package 7 if pack=='A': if hour pythor package.py Enter the Package : B Traceback (most recent call last): File "package.py", line 33, inStep 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