Python program
[Link] a program to swap values of two variables using a third
variable.
2. Write a Python program to calculate the area of a rectangle
using user input for the length and the width.
3. Write a Python program to convert temperature input in
Fahrenheit to Celsius. C = 5/9 *(f-32)
4. Write a program to calculate the area of a circle using user
input for the radius.
5. Write a Python program to to check if a given number is odd or
even. Display an appropriate message in either case.
6. Write a Python program to check an input number is a multiple
of 8. Display an appropriate message in either case. The number
is not divisible by 8 then check if the number is divisible by 7. If
so, the program should display the square of the number else.
8. WAP that prints the numbers from 10 to 1 using a for loop.
9. WAP prints the even numbers from 1 to 20 using a for loop.
10. Write a program that prints the sum of numbers from 1 to 50
using for loop.
11. Write a program that takes 10 numbers and print the average
using a while loop.
12. Write a program that prints the multiplication table of a
number using a while loop.