PYTHON PROGRAMS
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 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 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)