Rajesh SinghMar 29, 20201 minPython Program to Check number is Palindrome or NotA palindromic number is a number that remains the same when its digits are reversed. Like 121. Program: n=int(input("Enter number:")) a=n...
Rajesh SinghMar 29, 20201 minPython Program to Check Armstrong NumberArmstrong number is a number that is equal to the sum of cubes of its digits. For example 0, 1, 153, 370, 371 and 407 are the Armstrong...
Rajesh SinghMar 29, 20201 minPython Program to Find the Factorial of a NumberFirst method to find factorial number of given number: n = int(input("Enter a number: ")) fact = 1 if n < 0: print("Factorial does not...
Rajesh SinghMar 29, 20201 minPython Program to Print the Fibonacci sequencePython Program to Print the Fibonacci sequence Using While Loop n = int(input("Enter the number for Fibonacci sequence : ")) a, b = 0, 1...