0% found this document useful (0 votes)
13 views1 page

Final Python Prog X

Uploaded by

shilpisaluja297
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Final Python Prog X

Uploaded by

shilpisaluja297
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

SHANTI INTERNATIONAL SCHOOL, NOIDA

PYTHON PROGRAMS FOR PRACTICAL


CLASS X

1. Write a Python program to create a list and add elements to it.


2. W r i t e a p y t h o n p r o g r a m t o display the sum of two numbers.
3. Write a python program to calculate area of circle.
4. Accept a number from keyboard and test whether the given number is even or
odd.
5. W r i t e a p y t h o n p r o g r a m t o display numbers from 1 to 10 using while loop.
6. Write a python program to display even numbers between X and Y.
7. Write a python program to display to elements of a list using for loop.
8. Draw following patterns using nested loops.
A) * B) 1 C) 1 D) *
* * 2 2 12 * *
* * * 3 3 3 123 * * *
9 . Write a Python function to swap two numbers.
10. Write a Python function to find the greatest of 3 numbers.

You might also like