K.R.
MANGALAM WORLD SCHOOL
GREATER NOIDA
ARTIFICIAL INTELLIGENCE (417)
PRACTICAL FILE
SESSION: 2025-26
SUBMITTED BY: AVANTIKA SINGH
SUBMITTED TO: Ms. Poonam
CLASS: 9th D
ROLL NO: 17
Practical Questions
Q. Create a list in python of children selected for a science quiz with
following names –
Arjun, Sonakshi, Vikram, Sandhya, Sonal, Isha, Kartik.
Perform the following tasks on the list in sequence –
Print the whole list
Delete the name Vikram from the list
Add the name Jay at the end
Remove the item at the second position
Q, Create a list num=[23,12,5,9,65,44]-
print the length of the list
Print the elements from second to fourth position using positive indexing
Print the elements from position third to fifth using negative indexing
Q. Create a list of first ten even numbers, add 1 to each list item and print
the final list
Q. Create a list List_1=[10,20,30,40]. Add the elements [14,15,12] using
extend function. Now sort the final list in ascending order and print it.
q. program to check if a person can vote
Q. Program to check a student’s grade
Q. Input a number and check if the number is positive, negative or zero
Q. Print first 10 natural numbers
Q. Odd numbers (1 to n)