Programs

Python Program To Reverse a Sentence
Problem Definition Create a python program to reverse a sentence. Algorithm Take a string as input. Convert the sentence into…
Read More » 
Python Program to Convert Octal Number to Decimal and viceversa
The octal numeral system, or oct for short, is the base8 number system and uses the digits 0 to 7.…
Read More » 
Python Program to Convert Binary Number to Decimal and ViceVersa
A binary number is a number expressed in the base2 numeral system or binary numeral system, which uses only two…
Read More » 
Python Programs to Create Pyramid and Patterns
In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks…
Read More » 
Python Program to Find the Factors of a Number
The factor of any number is a whole number which exactly divides the number into a whole number without leaving…
Read More » 
Python Program to Calculate Power of a Number
Problem Definition Create a Python program to take two numbers from the user one being the base number another the…
Read More » 
Python Program To Reverse a Number
Problem Definition Create a Python program to reverse a number in Python. Solution This article will show multiple solutions for…
Read More » 
Python Program To Display Characters From A to Z
Problem Definition Create a Python program to display all alphabets from A to Z. Solution This article will go through…
Read More » 
Python Program Find Factorial Of A Number
The factorial of a number is the product of all the integers from 1 to that number. Mathematically, the formula…
Read More » 
Python Program To Generate Multiplication table
Problem Definition Create a Python Program to generate the multiplication table of a number. Program num = int(input("Enter the Number…
Read More »