0% found this document useful (0 votes)
5 views5 pages

Practical File AI-Class IX

The document is a practical file for Class IX students on Artificial Intelligence for the session 2025-26. It includes a series of programming exercises in Python, such as printing personal information, basic arithmetic operations, and geometric calculations. Additionally, it features example code for printing a name multiple times.

Uploaded by

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

Practical File AI-Class IX

The document is a practical file for Class IX students on Artificial Intelligence for the session 2025-26. It includes a series of programming exercises in Python, such as printing personal information, basic arithmetic operations, and geometric calculations. Additionally, it features example code for printing a name multiple times.

Uploaded by

parashartejas085
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

Practical File

Artificial Intelligence
Class IX
Session: 2025-26

Submitted By: Submitted To:


Name:
Rollno:
Class:
Section:

Certificate
AI For ALL (AI Aware)
[Link]
Certificate
AI For ALL (AI Appreciate)
[Link]
INDEX
[Link]. PROGRAM
1. PRINT 5 LINES ABOUT YOURSELF USING PRINT() FUNCTION
2. WRITE A PYTHON PROGRAM TO ADD TWO NUMBERS
3. WRITE A PYTHON PROGRAM TO SWAP TWO VARIABLES
4. WRITE A PYTHON PROGRAM TO FIND AREA AND
PERIMETER OF A SQUARE
5. WRITE A PYTHON PROGRAM THAT ACCEPTS MARKS IN 5
SUBJECTS AND OUTPUTS AVERAGE MARKS
6. WRITE A PYTHON PROGRAM TO CALCULATE SIMPLE
INTEREST
7. PROGRAM TO FIND SQUARE OF A NUMBER
8. WRITE A PYTHON PROGRAM TO FIND CUBE OF A NUMBER
9. PROGRAM TO REVERSE A NUMBER
10. WRITE A PROGRAM TO PRINT THE TABLE OF THE GIVEN
NUMBER.

11. WRITE A PYTHON PROGRAM TO CHECK LEAP YEAR


12. PROGRAM TO PRINT FIRST 10 NATURAL NUMBERS
13. WRITE A PROGRAM TO CHECK WHETHER A NUMBER IS
EVEN OR NOT.
14. PROGRAM TO CHECK POSITIVE, NEGATIVE, OR ZERO
15. PROGRAM TO CALCULATE THE AREA OF A CIRCLE

Example for Your Reference


WRITE A PYTHON PROGRAM TO PRINT YOUR NAME
FIVE TIMES.

CODE:

i=1

while i < 6:

print("RITIKA")

i += 1

OUTPUT:

RITIKA
RITIKA
RITIKA
RITIKA
RITIKA

You might also like