St. Peter’s Sr. Sec.
School, Bharatpur
I Term session 2025-26
IP Practical
MM:30
Q. 1Write a Python program that accepts a number from the user and: (10)
Prints whether it is even or odd
If the number is even, print all numbers from 1 to that number
If the number is odd, print the sum of all odd numbers from 1 to that number
Q. 2 Write a Python program to display multiplication table of a number entered by the user (from 1 to 10).
(7)
Q. 3 VIVA (8)
Q.4 Class Work (5)
St. Peter’s Sr. Sec. School, Bharatpur
I Term session 2025-26
IP Practical
MM:30
Q1. Counting Positive & Negative Numbers from the given list (10)
numbers = [10, -20, 30, -40, 50, -60, 0, -78,25]
Count of positive numbers
Count of negative numbers
Count of zeros
Q2. Write a Python program to accept 10 numbers from the user and print: (7)
Their sum
Their average
Q. 3 VIVA (8)
Q.4 Class Work (5)
St. Peter’s Sr. Sec. School, Bharatpur
I Term session 2025-26
IP Practical
Set 1
MM:30
Q. 1Write a Python program that accepts a number from the user and: (10)
Accept marks of a student (out of 100) and display grade using conditions:
90 and above → Grade A
75-89 → Grade B
50-74 → Grade C
50-35 → Grade D
Below 35 → Grade E
Q. 2 Write a Python program to accept single digit(0-9) and convert it into word representation.
(7)
Q. 3 VIVA (8)
Q.4 Class Work (5)
St. Peter’s Sr. Sec. School, Bharatpur
I Term session 2025-26
IP Practical
Set 2
MM:30
Q1. Write a Python program that accepts a number from the user and: (10)
Prints whether number is divisible by 2 or no
If the number is divisible by 2, print all numbers from 1 to that number
If the number is not divisible by 2, print the sum of all numbers from 1 to that number
Q2. Write a Python program to display first n terms of Fibonacci series, where n is entered by user.(7)
Q. 3 VIVA (8)
Q.4 Class Work (5)