Skip to content

Durinx0/Python-Calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Python-Calc

A small but powerful console-based calculator written in Python.
Perfect for learning, extending, or just having some fun with numbers. ๐Ÿค“


๐Ÿ”ง Features

  • 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 ๐Ÿ˜„

๐Ÿš€ Getting Started

git clone https://github.com/yourusername/python-calc.git
cd python-calc
python calc.py

Make sure Python 3.x is installed.


๐Ÿ’ก Sample Output

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

๐Ÿ› ๏ธ To-Do / Ideas for Extensions

  • 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 Overview

File Description
calc.py Main calculator script
README.md This project description

๐Ÿง  Why this project?

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.


๐Ÿง™โ€โ™‚๏ธ Feedback? Suggestions?

Feel free to open an issue or message me directly.
Letโ€™s build stuff that doesnโ€™t suck. ๐Ÿš€

About

A small but powerful console-based calculator written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages