Python program to calculate the sum of elements in a list

Hello everyone, I am back to discuss a new python program. Here we learn how to sum all the elements in a list quite easily. We use a predefined function called sum() and apply it …

Python program to find the largest and smallest number in a list

Hello everybody, this is a Python program that finds out the smallest and largest number on the list. Here we use 2 predefined functions min() and max() which check for the smallest and largest number in a …

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 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 check whether a number is Palindrome or not

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

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 …