- Make sure Python 3 is installed on your system.
- Save the program
- Open a terminal or command prompt in the folder where the file is saved.
- Run the program using: python codename.py
- Simple Calculator - A simple Python program that performs basic mathematical operations:
- Addition
- Subtraction
- Multiplication
- Division
-
Time-Based Greeting - A simple Python program that greets the user based on the current time.
-
Multiplication Table - A simple Python program that displays the multiplication table of any number entered by the user.
-
Factorial Calculator - This Python program calculates the factorial of a given number using recursion.
- Special case: 0! = 1
- Fibonacci Sequence - This Python program generates the Fibonacci sequence using recursion.