A small but powerful console-based calculator written in Python.
Perfect for learning, extending, or just having some fun with numbers. ๐ค
- Basic operations: Addition, Subtraction, Multiplication, Division
- Advanced functions: Exponentiation & Square Root
- Input validation & error handling
- Interactive menu system
- Clean, beginner-friendly code
- ๐ A little bit of attitude included ๐
git clone https://github.com/yourusername/python-calc.git
cd python-calc
python calc.py
Make sure Python 3.x is installed.
Welcome to the Python-Calc!
Please select one option:
1: Addition (+)
2: subtraction (-)
3: multiplication (*)
4: division (/)
5: exponentiation (x^y)
6: square root (โx)
0: Close
Your selection: 1
First number: 5
Second number: 7
result: 12.0
- Highlight results in color โ
- Add history of calculations
- Create a GUI with Tkinter or a web version
- Add more mathematical functions (log, sin, cos, etc.)
- Language toggle (English/German)
File | Description |
---|---|
calc.py |
Main calculator script |
README.md |
This project description |
This project is part of my journey learning Python.
I come from a cybersecurity background and am currently shifting my focus to software development โ with lots of motivation and the drive to grow every day.
You can find more of my work on my GitHub profile.
Feel free to open an issue or message me directly.
Letโs build stuff that doesnโt suck. ๐