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 reversing a number in Python. Reversing a number mathematically The … 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 two pythonic ways to generate alphabets. Using String module Python’s … 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 for the factorial is as follows. If n is an … 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 :")) for i in range(1,11): print("{} x {} = {}".format(num,i,num*i)) … Read more

Python Program To Check Leap year

A leap year is 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 4 … Read more

Python Program To Find The Roots Of Quadratic Equation

A quadratic equation is an equation of the second degree, meaning it contains at least one term that is squared. The standard form is ax² + bx + c = 0 … Read more

Python Program To Compute Quotient and Remainder Of Two Numbers

In Division The number which we divide is called the dividend. The number by which we divide is called the divisor. The result obtained is called the quotient. The number … Read more

Python Program To Get ASCII Value Of A Character

ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Problem Definition … Read more

Python Program To Multiply Two Numbers

Problem Definition Create a Python program to multiply two numbers. Program num_1 = 2 num_2 = 3 product = num_1 * num_2 print("Product of {} and {} is {}".format(num_1, num_2,product)) … Read more