numbers
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 …
Python program to find reverse of a number
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 (%) …
Python program to find reverse of a number using slice
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 …
Python program to find average of N numbers
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 …
Python program for performing Arithmetic Operations
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 …
Python program to find number of digits in a number
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 …
Python program to find Factorial of a given number
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 …
Python program to find a number is prime or composite
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 …
Python Program to find the Biggest and Smallest of 3 numbers
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() …
Python Program to find whether an integer is even or odd number
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 …
- 1
- 2