1. Write a python program to print a message on screen.
2. Write a python program to take two numbers as input now find summation, subtraction,
multiplication and division of two numbers.
3. Write a python program to find area and perimeter of circle.
area=3.14*r*r
perimeter=2*3.14*r
4. Write a python program to find volume and surface area of cuboid.
v=l*b*h
sa=2*(l*b+b*h+h*l)
5. Write a python program to find simple interest.
si=(p*n*r)/100
6. Write a python program to find square of a number.
7. Write a python program to take number of days as input now display years, weeks and
days. E.g. If user input 375 days then output will be 1 years, 1 weeks and 3 days. In this
program ignore leap year.
8. Write a python program to compute area of perimeter of rectangle.
area=l*b
perimeter=2*(l+b)
9.Write a python program to compute gross salary based on following parameters:-
Basic Salary HRA DA
1-4000 10% 50%
4001-8000 15% 60%
8001-12000 20% 70%
More than 12000 25% 80%
gs=bs+hra+da
10.Write a python program to take coordinates of a point as input and determine its quadrant.
+ + --> I quadrant
- + --> II quadrant
- - --> III quadrant
+ - --> IV quadrant