Expressions in Python

Python Programs




Program [1]

Write a Program to obtain temperature in Celsius and convert it into Fahrenheit using formula –

C X 9/5 + 32 = F


View Solution


Program [2]

WAP to read todays date (only date Part) from user. Then display how many days are left in the current month.


View Solution


Program [3]

WAP to print the area of circle when radius of the circle is given by user.


View Solution


Program [4]

WAP to print the volume of a cylinder when radius and height of the cylinder is given by user.


View Solution


Program [5]

WAP that asks your height in centimeters and converts it into foot and inches.


View Solution


Program [6]

WAP to accept 3 side of triangle and find area of a triangle.


View Solution


Program [7]

WAP to input principle amount,rate time and calculate simple interest.


View Solution


Program [8]

WAP to read a number in n and prints n^2, n^3, n^4


View Solution


Program [9]

WAP to calculate compound simple interest after taking the principle, rate and time.


View Solution


Program [10]

WAP to take two numbers and check that the first number is fully divisible by second number or not.


View Solution


Program [11]

WAP to take value of x,y,z from the user and calculate the equation 


View Solution


Program [12]

WAP to take the temperatures of all 7 days of the week and displays the average temperature of that week.


View Solution


Program [13]

WAP to check the given year is leap year or not.


View Solution


Program [14]

WAP that searches for prime numbers from 15 through 25.


View Solution


Program [15]

WAP to test if given number is prime or not.


View Solution


Program [16]

WAP to compute the result when two numbers and one operator is given by user.


View Solution


Program [17]

WAP to calculate the roots of a given quadratic equation.


View Solution


Program [18]

WAP to input a digit and print it in words.


View Solution


Program [19]

WAP to check whether square root of a given number is prime or not.


View Solution


Program [20]

WAP to print first n odd numbers in descending order.


View Solution


Program [21]

WAP to find the average of the list of the numbers entered through keyboard.


View Solution


Program [22]

WAP to find the largest number from the list of the numbers entered through keyboard.


View Solution


Program [23]

WAP to find the sum of n natural numbers.


View Solution


Program [24]

WAP to find the sum of first n even numbers.


View Solution


Program [25]

WAP to find the sum of first n odd numbers.


View Solution