This program takes an input number from user and finds the factorial of that number using a recursive function. Factorial of a number is the… [Read More]
Python Program to Convert Decimal to Binary
In this post, we will see programs to convert decimal number to an equivalent binary number. We will see two Python programs, first program does… [Read More]
Python Programming Examples With Output
Here we are sharing Python programs on various topics of Python Programming such as array, strings, series, numbers, mathematical calculation, sorting & searching algorithms and… [Read More]
Python Program to Check if a Number is Positive Negative or Zero
This Python program checks if the number(entered by user) is positive, negative or zero. Python code The user is asked to enter the number, the… [Read More]
Python Program to Check whether Year is a Leap Year or not
In this post, we will write a Python program to check whether the input year(entered by user) is leap year or not. Python Code In… [Read More]
Python Program to Check Vowel or Consonant
In this post, we will write a Python program to check whether the entered character is vowel or consonant. Python Code In this program, user… [Read More]
Python Program to Check Alphabet
In this post, we will write a Python program to check whether the entered character is an Alphabet or not. Python Code In this program,… [Read More]
Python Program to Check If a number is Prime or not
In this post, we will write a program in Python to check whether the input number is prime or not. A number is said to… [Read More]
Python Program to Check If number is Even or Odd
In this post, we will write a Python program to check whether the number entered by user is even or odd. Example: Check If number… [Read More]
Python Program to Add Two Numbers
In this post we will see how to add two numbers in Python. In the first program we have the values assigned to the numbers… [Read More]