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 (%) …
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 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 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 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 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 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 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 everyone, Welcome back! Here I am going to discuss python tuple operations. A tuple is a sequence of some objects, which is similar to a list. The main difference between a list and a …