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 …
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 …
Hello everyone, welcome back to programming in python! Here we will learn a simple logic to find average on N numbers in python. This program takes max numbers from the user and calculates the sum of …
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 …
Hello everyone, welcome back to programminginpython.com! Here in this post I will show you how to find the number of digits in a number. A pretty simple logic. [embedyt] https://www.youtube.com/watch?v=bpBBcymXP0U[/embedyt] You can watch this video …
Hello people, I am back here to discuss how to find the factorial of a given number. Generally, a factorial on a given number is given by calculating its product with all the numbers below …
Hello people, welcome back! Here we discuss a python program that finds whether a given number is a prime number or composite number or neither of them. Definition: A number which is greater than 1 …
Hello people, here we discuss a simple python program which finds the biggest and smallest number out of given three numbers. Here we use concept of functions in this program. We use two functions biggest() …
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 …