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 (%) …
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 everybody, welcome back! Here we learn how to find the area of a triangle when base and height of a triangle are given. We calculate the area by multiplying base and height and dividing it …
Hello everybody, welcome back! Here we learn how to find the area of a triangle when all the 3 sides of it are given. First, we calculate semi-perimeter s as sum of all sides divided …
Hello everyone, welcome back to programminginpython.com. Here I am going to tell a simple logic by which we can find the LCM of two numbers in python. LCM means Least Common Multiple, for a given …
Hello everybody, welcome back to programminginpython.com. Here in this post am going to tell you how to find the union of two lists in python. Generally, Union means getting all the unique elements in both the …
Hello everyone, welcome back! Here we learn about a python program which finds the square root of a given number. We find the square-root of a number using exponential operations. Here I calculate the square-root …