A basic command-line calculator built with Python.
This project is perfect for beginners learning how to work with user input, functions, and basic logic in Python.
- Add two numbers
- Subtract two numbers
- Multiply two numbers
- Divide two numbers (with division-by-zero check)
- Simple, text-based user interface
- Python 3.x
- No external libraries needed (pure Python)
Select operation:
- Add
- Subtract
- Multiply
- Divide
Enter choice (1/2/3/4): 1 Enter first number: 10 Enter second number: 5 Result: 10 + 5 = 15
Samuel Dagne
๐ samueldagne.bio | ๐ฆ @prof_sd567