The document is a program file for Class X students at Delhi Public School, Bareilly, containing a list of Python programming tasks. These tasks include swapping numbers, checking even or odd, calculating simple interest, and more. The exercises aim to enhance students' programming skills through practical applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
6 views1 page
Program File X-Ai-1
The document is a program file for Class X students at Delhi Public School, Bareilly, containing a list of Python programming tasks. These tasks include swapping numbers, checking even or odd, calculating simple interest, and more. The exercises aim to enhance students' programming skills through practical applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
DELHI PUBLIC SCHOOL, BAREILLY
CLASS X SUBJECT AI
PROGRAM FILE
1. Write a Python program to input two numbers and swap them.
2. Write a Python program to input a number and check whether it is even or odd. 3. Write a Python Program to find the simple interest. 4. Write a Python program to input any number and find sum of its all digits. 5. Write a Python program to input any number and to find reverse of that number. 6. Write a Python program to input a number and check whether it is prime or not. 7. Write a Python program to accept shape and accept length, breadth or side or radius depending on shape, calculate perimeter and area. 8. Write a Python program to find the average of 3 numbers. 9. Write a Python program to print a Fibonacci series. 10. Write a Python program to find the area of a triangle. 13. Write a Python program to check leap year. 14. Write a python program to convert miles to kilometers. 15. Write a Python program to find factorial of a number. 11. Write a Python program to input n numbers in a list print sum of all the values. 12. Write a Python program to input n numbers in a list and print the largest value from list. 16. Write a Python program to print even numbers in a list.