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.