PYTHON PROGRAMS
CLASS 10 – ARTIFICIAL INTELLIGENCE
• WAP to calculate perimeter of rectangle
• WAP to enter radius and calculate area of circle
• WAP to enter Name, marks of 5 subject and calculate total &
percentage of student
• WAP to enter value of temperature in Fahrenheit and convert it
into Celsius.
1. Write a Python Program to enter the radius and calculate the perimeter of a rectangle
2. Write a Python program to enter the length and breadth and calculate the perimeter of a rectangle
3. Write a Python program to enter the name and 3 subject marks of a student and calculate his total and percentage
4. Write a Python program to get the temperature in Celsius and convert it in to Fahrenheit.
• Write a Python (WAP) to find the greatest of three numbers.
• WAP to input a number and find whether it is odd or even.
Square the odd numbers and cube the even numbers.
• WAP to print the multiplication table of a given number.
• WAP Program to find the sum of natural numbers up to the
given number of terms.
1. Write a Python program to find the greatest of three numbers.
2. Write a Python program to cube the even numbers and square the odd numbers between 1 to 20.
3. Write a python program to get a number and print its multiplication table.
4. Write a Python Program to find the sum of natural numbers up to the given number
of terms