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

Python Practical Questions

The document contains a series of Python practical questions for students at Cambridge Court High School, specifically for a student named Vatsal Gautam in Class IX – D. The questions require students to write Python programs for various tasks, such as printing personal preferences, displaying days of the week, calculating averages, checking divisibility, and generating multiplication tables. Each question includes sections for input and output, guiding students on how to structure their programs.

Uploaded by

mvinod732
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 views9 pages

Python Practical Questions

The document contains a series of Python practical questions for students at Cambridge Court High School, specifically for a student named Vatsal Gautam in Class IX – D. The questions require students to write Python programs for various tasks, such as printing personal preferences, displaying days of the week, calculating averages, checking divisibility, and generating multiplication tables. Each question includes sections for input and output, guiding students on how to structure their programs.

Uploaded by

mvinod732
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

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

You might also like