Python Program to check Armstrong number or not
Hello readers, welcome back, here is another simple python program which checks whether a number is an Armstrong number or not. Generally, a number is said to be an Armstrong number if an n -digit …
Hello readers, welcome back, here is another simple python program which checks whether a number is an Armstrong number or not. Generally, a number is said to be an Armstrong number if an n -digit …
A simple python program which checks whether a number is a palindrome or not. Generally, a number is said to be a palindrome number if its reverse is same as the original number. For Example, 121 …
Hello everyone, welcome back! Here we will learn a simple python logic to reverse a number. Here we read a number from the user and reverse that number using some arithmetic operations like mod (%) …
Hello every one, welcome back ! Here we will learn a simple python logic to reverse a number. Here we read a number from user and reverse that number using slice operations. We first cast that …