Category: PYTHON PROGRAMS

Python Program for Bubble Sort

In this tutorial, we will discuss a Python program for the bubble sort algorithm to sort an array of numbers in ascending order. Before going to the program first, let us understand what is Bubble...

Python Program to Find the LCM of Two Numbers

In this tutorial, we will discuss a Python program to find the LCM of two given numbers. Before going to the program first, let us understand what is Least Common Multiple (LCM). Least Common Multiple(LCM):...

Python Program to Find GCD of Two Numbers using the Euclidean Algorithm

In this tutorial, we will discuss a Python program to find the GCD of two given numbers using the Euclidean algorithm. Before going to the program first, let us understand what is Greatest Common Divisor(GCD)....

Python Program to generate Fibonacci Series using Recursion

In this tutorial, we will discuss a Python program to generate Fibonacci Series using Recursion. Before going to the program first, let us understand what is Fibonacci Series. Fibonacci Series: The Fibonacci series is a...

Python Program for the Sum of Natural Numbers using Recursion

In this tutorial, we will discuss a Python program for the sum of natural numbers using recursion. Before going to the program first, let us understand what is Natural Numbers. Natural Numbers: Natural numbers are all...

Python Program for Simple Interest Calculator

In this tutorial, we will discuss a Python program for Simple Interest Calculator. Before going to the program first, let us understand what is Simple Interest. Simple Interest: Simple interest is calculated using the formula:...

Python Program for an Area Calculator

In this tutorial, we will discuss a Python program for an area calculator. Before going to the program first, let us understand what is an Area Calculator . Area Calculator: Area calculator determines the area...

Python Program to Calculate the Sum of Digits

In this tutorial, we will discuss a Python program to calculate the sum of the digits of a given number. Before going to the program first, let us understand what is a Sum of Digits....

Python program to Reverse a Number

In this tutorial, we will discuss a Python program to reverse a number. Before going to the program first, let us understand what is a Reverse Number. Reverse Number: The reverse of a number is a...

Python Program to Check Leap Year

In this tutorial, we will discuss a Python Program to check Leap Year. Before going to the program first, let us understand what is a Leap Year. Leap Year: A leap year is a year...