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

Python Practice Questions

The document contains a list of practice questions for Python programming. Each question prompts the user to input various values and perform calculations or checks, such as calculating simple interest, averaging numbers, determining the perimeter of a rectangle, and checking if a number is even or odd. The exercises aim to enhance programming skills through practical application.
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)
3 views1 page

Python Practice Questions

The document contains a list of practice questions for Python programming. Each question prompts the user to input various values and perform calculations or checks, such as calculating simple interest, averaging numbers, determining the perimeter of a rectangle, and checking if a number is even or odd. The exercises aim to enhance programming skills through practical application.
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

Python (Practice Questions)

S. NO TOPIC
Write a Python program to input P, R, T by the user and print the Simple Interest on
1 the screen.

Write a Python program to input three numbers Num1, Num2 and Num3 by the
2 user and print the average of three numbers on the screen.

Write a Python program to input L, B by the user and print the perimeter of the
3
rectangle on the screen.
Write a Python program to input a number by the user and print its square and cube
4
on the screen.
Write a Python program to input Base and Height by the user and print the area of a
5
triangle on the screen.
Write a Python program to input an age by the user and check whether a person is
6
eligible to vote or not.
Write a Python program to input a number by the user and check if the number is
7
even or odd and display an appropriate message.

Write a program to input a number and check if the number is positive, negative
8
or zero and display an appropriate message.

9 Write a Python program to print first 20 natural numbers using for loop.

10 Write a Python program to print first 10 even numbers using for loop.

You might also like