## Python Program to check Armstrong number or not

Hello readers, welcome back, here is an 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 the sum …

All basic programs for people who started learning python programming language. Programs on different topics like operators, loops, decision making, numbers, strings, basic lists.

All the programs in this category are presented with a great explanation with screenshot of the executed output and source code is made available on GitHub platform.

Here all the topics are provided with some enough example programs, a few of them are

- Checking a number is even or odd
- Performing arithmetic operations like addition, subtraction, multiplication, division, floor division, modulus, exponential and power operations ( +, -, *, /, //, %, **).
- Programs on logical operations like AND, OR, NOT.
- Performing bitwise operations like Binary AND, Binary OR, Binary XOR, Binary one’s compliment. Binary Left Shift, Binary Right Shift (&, |, ^, ~, <<, >>).
- Reverse of a number
- Palindrome number
- Armstrong number

and many more such basic programs. Following are the programs listed in this category.

Hello readers, welcome back, here is an 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 the sum …

A simple python program which checks whether a number is 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 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 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 …

Hello everyone, here we will learn a simple logic to find average on N numbers in python. This program takes max numbers from user and calculates the sum of all the numbers in a loop and …

In this post, we will develop a simple logic to check whether an integer is even or odd number. Any number( positive/negative ) which is divisible by number 2 is declared as an even number …

This is basic python program for all beginners in python programming language. It simply takes two integer numbers and performs arithmetic operations like addition, subtraction, multiplication, division, floor division, modulus and exponential(power) on them. Program …

In this post, we will learn about Lists in python. Here we perform the basic operations on list like adding items to a list, appending an item at the end of the list, modify the …