Q1.
XYZ shop is offering a discount on a mobile as per given below
PRICE Discount
upto 10000 15%
10,000-20000 20%
above 20000 30%
Write a python program to accept the price (P) of a mobile from user ,
calculate the discount (D) based on the above criteria and print the payable
amount(P-D) after awailing the discount
Q2. Write a program in python to calculate the electricity bill according to
the following criteria:
Unit Rate
upto 100 Rs.10 per unit
next 200 Rs.20 per unit
above 300 Rs.25 per unit
Accept Value from user and calculate the electricity bill
Q3. Write a program in python to calculate the electricity bill according to
the following criteria:
Unit Rate
upto 100 Rs.0.8 per unit
next 200 Rs.1 per unit
above 300 Rs.2.5 per unit
Accept Value from user and calculate the electricity bill
Assume that a meter rent on 500 is charged and added to the total amount
Q4. Write a menu driven program to accept the temperature celsius and convert that
into farenheit and vice versa
Q5. Write a menu driven program for a calculator
Q6. Using the match case system in Python, write a program to display the name of
the city according to the users choice. d- Delhi M-
K-Kolkata C- Chennai