Cambridge Court High School
Name: Vatsal Gautam
Class: IX – D
Roll Number: 38
Subject: Artificial Intelligence
PYTHON PRACTICAL QUESTIONS
1. Write a python program to print your favourite hobby, favourite color and favourite food
INPUT
OUTPUT
2. Write a python program to print the days of the week in separate lines using multiple print
statements.
INPUT
OUTPUT
3. Write a python program that ask the user for their city and country, then displays them
together.
INPUT
OUTPUT
4. Write a program to take three number as input and print their average.
INPUT
OUTPUT
5. Write a python program that checks whether a number entered by the user is divisible by 5
INPUT
OUTPUT
6. Write a program to input marks and print whether the student has passed or failed (pass
marks = 33)
INPUT
OUTPUT
7. Write a Python program using a for loop to print the multiplication table of any number
entered by the user.
INPUT
OUTPUT
8. Write a program using a for loop to print all even number between 1 and 50.
INPUT
OUTPUT