PYTHON PROGRAMS
Exercise 1 Write the program to calculate the multiplication and sum of two
numbers.
Exercise 2 Write the program to find the greatest between two numbers.(using if,
else conditions)
Exercise 3 Write the program to find the greatest between three numbers.(using if,
else conditions)
Exercise 4 Write the program to input if the number is odd or even.(using if,else
conditions)
Exercise 5 Write the program to find the user input is string,integer or float.(Using
if,else condition)
Exercise 6 Write the program to check the number is divisible by 2 and 5 or
not.(using if,else condition)
Exercise 7 Write the program to input marks of five subjects, print total marks
obtained and print its percentage and Grade.(using nested if,else)
Exercise 8 Write the program to print the n natural numbers.(using loops)
Exercise 9 Write the program to print the sum of n natural numbers.(using while
and for loop)
Exercise 10 Write the program for user input, find the factorial of n numbers.(using
while and for loop)
Exercise 11 Write the program for user input to print the n prime numbers.(using
while and for loop)
Exercise 12 Write the program for user input to print the n Fibonacci of
numbers.(using while and for loop)
Exercise 13 Write the program to print the table of user input numbers.(using while
and for loop)
Exercise 14 Write the program to print different ( * ) patterns,like Square,Left
Triangle,Right Triangle, Pyramid shape and Rhombus shape.(using
nested loop)
Exercise 15 Write the program to print different numbering patterns,like Square,Left
Triangle,Right Triangle, Pyramid shape and Rhombus shape.(using
nested loop)
Exercise 16 Write a program to check if the integer or character is palindrome or
not palindrome.