Operators Expressions and Python Statements
Python : Operators Expressions and Python Statements Program List
Write a Program to obtain temperature in Celsius and convert it into Fahrenheit using formula –
C X 9/5 + 32 = F
WAP to read todays date (only date Part) from user. Then display how many days are left in the current month.
WAP to print the area of circle when radius of the circle is given by user.
WAP to print the volume of a cylinder when radius and height of the cylinder is given by user.
WAP that asks your height in centimeters and converts it into foot and inches.
WAP to accept 3 side of triangle and find area of a triangle.
WAP to input principle amount,rate time and calculate simple interest.
WAP to read a number in n and prints n^2, n^3, n^4
WAP to calculate compound simple interest after taking the principle, rate and time.
WAP to take two numbers and check that the first number is fully divisible by second number or not.
WAP to take value of x,y,z from the user and calculate the equation
WAP to take the temperatures of all 7 days of the week and displays the average temperature of that week.
WAP to check the given year is leap year or not.
WAP that searches for prime numbers from 15 through 25.
WAP to test if given number is prime or not.
WAP to compute the result when two numbers and one operator is given by user.
WAP to calculate the roots of a given quadratic equation.
WAP to input a digit and print it in words.
WAP to check whether square root of a given number is prime or not.
WAP to print first n odd numbers in descending order.
WAP to find the average of the list of the numbers entered through keyboard.
WAP to find the largest number from the list of the numbers entered through keyboard.
WAP to find the sum of n natural numbers.
WAP to find the sum of first n even numbers.
WAP to find the sum of first n odd numbers.
WAP a program to generate a list of elements of Fibonacci Series.
Program to find the simple interest based upon number of years. If number of years is more than 12 rate
of interest is 10 otherwise 15.
Write a program to input any choice and to implement the following.
1. Area of square
2. Area of rectangle
3. Area of triangle
Write a program to input any number and to print all natural numbers up to given number.
Write a program to input any number and to find sum of all natural numbers up to given number.
Write a program to input any number and to find reverse of that number.
Write a program to input any string and count number of uppercase and lowercase letters.