PYTHON Write a Python program to print Fibonacci series. nterms = int(input("How many terms? ")) n1, n2 = 0, 1 count = 0 if nterms
PYTHON Write a python program to check whether a number is Armstrong number or not. num = int(input("Enter the number :- ")) temp = num sum = 0 while...
PYTHON Write a Python program to calculate factorial of a number. num = int(input("Enter a number: ")) factorial = 1 if num < 0: print("Sorry, factorial does not exist...
PYTHON Write a Python program to enter a number and print its reverse. num = int(input("Enter the number :- ")) temp = num rev = 0 while temp !=0:...
PYTHON Write a Python Program to check whether the given number is Even or Odd number = int(input("Enter the number :- ")) if number %2 == 0: print("The number...
PYTHON Write a Python program to input all sides of a triangle and check whether triangle is valid or not. a = int(input('Please Enter the First Angle of a...
PYTHON Write a python program to calculate Surface Area and Volume of a Cuboid. length = float(input('Please Enter the Length of a Cuboid: ')) width = float(input('Please Enter the...
PYTHON Write a python program to calculate Area of a triangle with Base and Height base= float(input("Enter the base of a Traigle : -")) height= float(input("Enter the height of...
PYTHON Write a python program to print multiplication table of any number num = int(inputsplay multiplicn table of? ")) for i in rang 11): print(num, 'x', i, '=', num*i)...
PYTHON Write a Python program to find sum of all odd numbers between 1 to n. n = int(input("Enter the Starting number :- ")) m = int(input("Enter the Ending...