# Operators Expressions and Python Statements

#### Python : **Operators Expressions and Python Statements** Program List

**Program [1]**

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

C X 9/5 + 32 = F

**Program [2]**

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

**Program [3]**

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

**Program [4]**

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

**Program [5]**

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

**Program [6]**

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

**Program [7]**

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

**Program [8]**

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

**Program [9]**

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

**Program [10]**

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

**Program [11]**

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

**Program [12]**

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

**Program [13]**

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

**Program [14]**

WAP that searches for prime numbers from 15 through 25.

**Program [15]**

WAP to test if given number is prime or not.

**Program [16]**

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

**Program [17]**

WAP to calculate the roots of a given quadratic equation.

**Program [18]**

WAP to input a digit and print it in words.

**Program [19]**

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

**Program [20]**

WAP to print first n odd numbers in descending order.

**Program [21]**

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

**Program [22]**

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

**Program [23]**

WAP to find the sum of n natural numbers.

**Program [24]**

WAP to find the sum of first n even numbers.

**Program [25]**

WAP to find the sum of first n odd numbers.

**Program [26]**

WAP a program to generate a list of elements of Fibonacci Series.

**Program [27]**

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.

**Program [28]**

Write a program to input any choice and to implement the following.

Choice Find

1. Area of square

2. Area of rectangle

3. Area of triangle

**Program [29]**

Write a program to input any number and to print all natural numbers up to given number.

**Program [30]**

Write a program to input any number and to find sum of all natural numbers up to given number.

**Program [31]**

Write a program to input any number and to find reverse of that number.

**Program [32]**

Write a program to input any string and count number of uppercase and lowercase letters.