0% found this document useful (0 votes)
4 views7 pages

Term 2 IX Practical File Python

This document is an A.I. practical file for Class IX for the session 2025-26, including a certificate of completion and acknowledgments. It contains various programming exercises, such as calculating simple interest, checking voting eligibility, and manipulating lists. The file serves as a practical guide for students to learn and apply A.I. concepts through coding.

Uploaded by

prachi22enator
Copyright
© All Rights Reserved
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% found this document useful (0 votes)
4 views7 pages

Term 2 IX Practical File Python

This document is an A.I. practical file for Class IX for the session 2025-26, including a certificate of completion and acknowledgments. It contains various programming exercises, such as calculating simple interest, checking voting eligibility, and manipulating lists. The file serves as a practical guide for students to learn and apply A.I. concepts through coding.

Uploaded by

prachi22enator
Copyright
© All Rights Reserved
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

(School & Hostel)

A.I. PRACTICAL FILE

CLASS- IX

SESSION (2025-26)

SUBMITTED TO SUBMITTED BY

Page 1 of 7
CERTIFICATE

This is to certify that of class IX has


successfully completed his/her A.I. Practical file under the
guidance of

Page 2 of 7
ACKNOWLEDGEMENT

I would like to express my special thanks of gratitude to my teacher


who gave me the golden opportunity to do this
wonderful Practical file of “A.I.”, Who also helped me in completing my
project file. I came know about so many new things I am really thankful
to them.

Secondly, I would also like to thank my parents and friends who helped
me a lot in finalizing this Practical File within the limited time frame.

Student Name:

Page 3 of 7
INDEX
S.N. TITLE PAGE SIGNATURE
NO
1

10

Page 4 of 7
1. Calculate simple interest for principal amount = 2000, rate of interest
4.5% and time 10 years.
pa = 2000
roi = 4.5
t = 10
si = (pa * roi * t)/100
print(“Simple interest =”, si)
2. Program to check if a person can vote .
age = int(input(“Enter your age”))
if age>= 18:
print(“You are eligible to vote”)
else:
print(“You are not eligible to vote”)

3. Program to check if a number is positive or negative.


nmu = float(input(“Enter a number”))
if num >= 0:
if num == 0:
print(“Zero”)
else:
print(“Positive number”)
else:
print(“Negative number”)

Page 5 of 7
4. To check the grades of a student.
marks = float(input(“Enter marks”))
if marks > 75:
print (“A Grade”)
elif marks > 60 :
print(“ B Grade”)
else:
print(“C Grade”)
5. To print first 10 natural numbers.
i=1
n = 10
while i <= n:
print(i)
i=i+1
6. To print first 10 even numbers.
i=1
n = 20
while i < = n:
print(i)
i = i+2
7. To print sum of 10 natural numbers.
n = 10
sum = 0
i=1
while i <= n:
sum = sum + i
i=i+1
print(“The sum = “, sum)
Page 6 of 7
8. Create a list of children selected for Science quiz with following names:
List = [ “Aryan”, “Sonakshi”, “Vikram”, “Sandhya”, “Sonal”, “Isha”, “Karan”]
print(List)
[Link](2)
[Link](“Jay”)
[Link](1)

9. To accept a word from the user and reverses it.


word = input(“ Input a word to reverse”)
for char in range(len(word) – 1, -1, -1):
print(word[char], end = “”)
print(“\n”)

10. To turn every item of a list into its square.


numbers = [1,2,3,4,5,6]
res = []
for i in numbers:
[Link](i*i)
print(numbers)
print(res)

Page 7 of 7

You might also like