Python

Python Program to Generate a Random Number in 3 easy steps

In this program, we are going to make a python program which will generate random number. Python program to generate a random number between 1 and 1…

Menu driven Program in Python using while loop

A Menu Driven Program in Python is a program that displays multiple options to the user. Based on the user's choice, the program performs a s…

Palindrome Program in Python using for loop [New]

Table of Contents Palindrome program in python using for loop number=input("Enter any number/word :") i=0 for i in range(len(…

Leap Year Program in Python using if-else

In this post, we will make a python program to check whether the given year is a leap year. Leap Year: One year in every four has 366 days [Februar…

Python Program to Check Armstrong Number using while loop

Table of Contents In this program, we will make a program to check whether the given number is Armstrong. We will also make a python prog…

Calculator Program in Python using while loop

Menu-driven calculator program: According to the input, it will perform addition, subtraction, multiplication, and division of two numbers. …

Python Program to Check Even or Odd

In this program, we are going to make a python program to check even or odd number. Python Program to Check Even or Odd In this program, we will ch…

Prime Number Program in Python using while loop

In this program, we have a number given by the user. We have to print whether that number is prime or not. Table Of Contents Pri…

Python Program to Convert Celsius to Fahrenheit

In this post, we are going to make a  Python Program to Convert Celsius to Fahrenheit.   C° to F°: Formula to convert Celsius to Fahrenheit  F=1.8C…

GCD of two numbers in Python using recursion

In this program, we will make a python program to calculate the GCD of two numbers using recursion.  GCD stands for the greatest common divisor. Som…

Simple Python Program to Add Two Numbers

In this program, we are going to make a simple python program that will add two numbers with user input. We will take numbers from users or else we …

Fibonacci Series in Python using Recursion

In this post, we are going to make a python program that will print the Fibonacci series in python using recursion. Table Of Contents …

Python Program to Calculate Simple Interest and Compound Interest

In this post, we are going to make a Python Program to Calculate Simple Interest and Compound Interest. To make this program, we need three variables…

Simple Python Program to Print Hello World

In this post, we are going to make a Python Program to Print Hello World. Table Of Contents This program is very useful for…

Python Program to Find Factorial of a Number using for loop

In this post, I have provided coding and a quick algorithm to make a Python program to find the factorial of a number and the factorial of a number i…