## Python Program to Swap Two Numbers

To understand this example, you should have knowledge of following Python programming topics: Python – Operators There are two ways to swap two numbers: Without Using

Share

## Python Program to Check Number is Prime Number or Not

A number that is divisible only by itself and 1 (i.e. 2, 3, 5, 7, 11) is called Prime Number. Note: 0 and 1 are

Share

## Python Program to Check a String and Number is Palindrome Or Not

A word, phrase, or sequence that reads identical backwards as forwards. For Example – dad, mom, madam, 121, 1120211 To understand this example, you should

Share

## Python Program to Check Odd Even Number

A number which is divisible by 2 is called Even Number. A Number which is not divisible by 2 is called Odd Number To understand

Share

## Python Program to Check Leap Year

A year, occurring once every four years, which has 366 days including 29 February as an intercalary day. A leap year is exactly divisible by

Share

## Python Program for Checking Armstrong Number

Python Program for Finding Armstrong Number. A number is termed Armstrong number if it’s up to the total of the cubes of its own digits.

Share

## Python Program For Simple Calculator

Here we are going to implement an easy simple calculator program in Python. We are going to implement Addition, Subtraction, Multiplication, and Division. To understand

Share

## Python Program for Factorial Using Loop and Recursive Function

Python Factorial of n is that the product of all positive descending integers. Factorial of n is denoted by n!. Here, 4! is pronounced as

Share

## Python Fibonacci Series Using Recursive Function and Loop

In Python Fibonacci Series, next range uses the total of the previous two numbers. For example: 0, 1, 1, 2, 3, 5 , 8, 13,