Biproy Podder - Python Programming Lab
Biproy Podder - Python Programming Lab
• Teachers Signature
1. Write a program that prompts the user to input a Celsius
temperature and outputs the equivalent temperature in
Fahrenheit. The formula to convert the temperature is: F-
9/5 C+32 where Fis the Fahrenheit temperature and C is the
Celsius temperature.
2. Write a program which accepts principle, rate and time
from user and print the simple interest. The formula to
calculate simple interest is: simple interest = principal x
rate x time/ 100
3. Write a program that accepts seconds from the keyboard
as integers. Your program should convert seconds in hours,
minutes and seconds.
4. Write a program that prompts the user to enter
number in two variables and swap the contents of the
variables.
5. Write a program that prompts the user to input the radius
of a circle and outputs the area and circumference of the
circle. The formula is: Area = pi x radius2 Circumference = 2
x pi x radius
6. Write a program which prompts the user to input
principle, rate and time and calculate compound interest.
The formula is
:CI= P(1+R/100)^T-P
THANK YOU