Practical List 1 Sequence
Practical List 1 Sequence
1 Write a program in Python to accept Qty of Fuel (in Litre) and Distance travelled (in KM)
from the user, calculate and display the Average of the Vehicle (i.e. KM per Litre).
2 Write a program in Python to accept Radius (in cms) of a circle from the user, calculate
and display (a) Circumference of the circle (b) Area of the circle.
3 Write a program in Python to accept Marks of 5 subjects (each out of 100), calculate and
display (a) Total Marks obtained (b) Average Marks
4 Write a program to calculate total collection of a PARKING area on the basis of number
of vehicles under each category entered by the user. Per vehicle amounts for each type of
vehicle is as follows:
Bus Rs. 100 SUV Rs.40 CAR Rs.30 Two-Wheeler Rs.10
5 Write a program to accept Employee No, Employee Name and Basic Salary of an
employee from user and calculate the following:
(a) Dearness Allowance ( DA ) as 30% of Basic Salary
(b) House Rent Allowance ( HRA ) as 25% of Basic Salary
(c) Income Tax ( IT) as 10% of Basic if Basic Salary
(d) Total Salary ( TSAL) as BASIC Salary +DA+HRA
(e) Salary in hand ( SALH ) as TSAL - IT