0% found this document useful (0 votes)
12 views1 page

Python Programming Questions and Solutions

The document contains a series of Python programming questions aimed at beginners. Each question requires writing a simple program to perform basic operations such as checking even/odd, positive/negative, finding the larger number, displaying list elements, creating sublists, and performing arithmetic operations. The questions are designed to enhance understanding of Python syntax and control structures.

Uploaded by

zayanuddin1232
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Python Programming Questions and Solutions

The document contains a series of Python programming questions aimed at beginners. Each question requires writing a simple program to perform basic operations such as checking even/odd, positive/negative, finding the larger number, displaying list elements, creating sublists, and performing arithmetic operations. The questions are designed to enhance understanding of Python syntax and control structures.

Uploaded by

zayanuddin1232
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Python questions

Q1: Write a program that takes an integer as input and prints whether it's
"Even" or "Odd."

Q2: Write a program that takes a number as input and prints whether it's
"Positive," "Negative," or "Zero.

Q3: Write a program that takes two numbers as input and prints the larger
of the two.

Q4: Using for loop, display the number of this list on the screen [12, 75, 150,
180, 145, 525, 50]

Q5: Write a python program to create two sublist like evenList and OddList
from a given List a = [2,3,5,7,9,10,15,17,19,20]

Q6:Create a python program to subtract 2 numbers

Q7:Create a python program to multiply two numbers(multiplication sign: *)

Q8:Create a python program to divide two numbers(division sign: /)

You might also like