Python Programs
The following are some of the general programs that beginners use to get hands on practice of Python programming.
Python General Programs
- Python – Add two numbers
- Python – Arrange given numbers to form a maximum number
- Python – Arrange given numbers to form a minimum number
- Python – Average of two numbers
- Python – Calculator program
- Python – Check if number is Armstrong
- Python – Check if number is even
- Python – Check if number is odd
- Python – Check if number is prime number
- Python – Check if number is zero
- Python – Check if number is positive or negative
- Python – Check if two numbers are equal
- Python – Fibonacci series using For-Loop
- Python – Fibonacci series using recursion
- Python – Find all factors of a number
- Python – Find factorial of a number
- Python – Find factorial of a number using recursion
- Python – Find if given year is Leap Year in Georgian calendar
- Python – Find maximum of two numbers
- Python – Find minimum of two numbers
- Python – Find Nth Fibonacci number
- Python – Find roots of a quadratic equation
- Python – Get unique digits in number
- Python – Largest of three numbers
- Python – Matrix Transpose
- Python – Matrix Addition
- Python – Palindrome program
- Python – Pangram string
- Python – Print from A to Z
- Python – Print numbers 123..N
- Python – Print prime numbers between two given numbers
- Python – Reverse a number
- Python – Round a float number to specific decimal places
- Python – Round a float number to nearest integer
- Python – Smallest of three numbers
- Python – Star pattern programs
- Python – Sum of two numbers
- Python – Sum of first N natural numbers
- Python – Sum of cubes of first N natural numbers
- Python – Sum of squares of first N natural numbers
- Python – Swap two numbers
- Python – Tower of Hanoi
Python Geometry Programs
Python Unit Conversion Programs
- Python Program to convert Celsius to Fahrenheit
- Python Program to convert Fahrenheit to Celsius
- Python Program to convert Kilometers to Miles
- Python Program to convert Miles to Kilometers
- Python Program to convert Degrees to Radians
- Python Program to convert Radians to Degrees
- Python Program to convert Kilograms to Pounds
- Python Program to convert Pounds to Kilograms