Grade 10 AI Python 2025-26 Practicals 2
Grade 10 AI Python 2025-26 Practicals 2
GRADE 10 (2025-2026)
1. Imagine you have two warehouses storing different parts for assembling bicycles. You receive
a new shipment and need to combine the parts from both warehouses into a single master
inventory list. Write Python program to combine the inventory lists from two warehouses
using extend ().
2. Create a list of “Good morning”. Make each letter as separate list elements. Write a Python
program
• To slice elements in a range 3-8.
• Slice elements from 5th element till the end.
• Printing all elements using using slice operation
• To slice elements from index -6 to -1
• Printing list elements in reverse using Slice operation
3. Write a Python program to
• Create an empty Tuple
• Create a tuple with five programming languages
• Access first element of tuple using indexing
• Print all elements of list
• Delete the created tuple
4. Write a Python program to check the given number is positive, negative or zero.
5. Write a Python program to find the sum of all numbers stored in a list.
6. Write a Python program to count down from 10 to 1 using while loop.
7. Write a Python program to add natural numbers up to N using while loop.
8. Write a program to find numbers which are divisible by 7 and multiple of 5 between 1200 and
2200 using while loop.
9. Write a program to check whether a number is prime or not using 'while' loop.
10. Create a numPy array of numbers 1 to 5. Write a Python program to
• Add 5 to each element
• Divide each element by 5
• Square each element
• Access 2nd element of the array (element count starts from 0)
• Multiplying 2 arrays
• Print all elements of the array
Page 1 of 2
11. Write a Python program to create an e-commerce product catalogue using dictionary.
Access the Product information using key value of the dictionary.
"name": "Laptop Pro X150",
"description": "High-performance laptop for professionals.",
"price": 1299.99,
"category": "Electronics",
"stock": 100
12. Write a program to calculate mean, median and mode using NumPy with built in libraries.
TEACHER APPRAISAL:
Page 2 of 2