Skip to content

Bluerock-crypto/Calculator_CLI_app_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Calculator_CLI_app_py

๐Ÿงฎ Python CLI Calculator

A simple command-line calculator built in Python.
This project was developed as part of the Elevate Labs Internship (Task 1).


๐Ÿ“Œ Features

  • Addition
  • Subtraction
  • Multiplication
  • Division (with error handling for division by zero)
  • Square root calculation
  • Exponentiation (x^y)
  • Interactive menu with loop until exit

๐Ÿš€ How to Run

  1. Install Python (if not already installed).

    • Download from python.org and install.
    • Verify installation by running:
      python --version
  2. Clone this repository:

    git clone https://github.com/your-username/task-1-calculator-cli.git
  3. Navigate into the project folder:

    cd task-1-calculator-cli
  4. Run the script:

    python calculator.py
  5. The calculator menu will appear in your terminal. Enter a choice (1โ€“7) and follow the prompts.


๐Ÿ› ๏ธ Tech Stack

  • Language: Python 3
  • Editor: VS Code / any text editor
  • Interface: Command Line (CLI)

๐Ÿ“– Learning Outcomes

  • Functions in Python
  • Loops and conditionals
  • Error handling (try/except)
  • CLI interaction with input()

๐Ÿ“‚ Repository Structure

task-1-calculator-cli/ โ”‚ โ”œโ”€โ”€ calculator.py # Main script โ”œโ”€โ”€ README.md # Project documentation โ””โ”€โ”€ screenshots/ # Optional folder for images


โœจ Future Improvements

  • Support floating-point numbers
  • Add more operations (factorial, logarithm, trigonometric functions)
  • Build a GUI version using Tkinter or a web version using Flask

๐Ÿ™Œ Acknowledgements

  • Ministry of MSME, Govt. of India โ€” Elevate Labs Internship
  • Self-research and practice with Python basics

This is a **proper README** with all the details included โ€” features, how to run, tech stack, learning outcomes, structure, improvements, and acknowledgements.  

Would you like me to also suggest a **short GitHub repo description and tags** (like `python`, `cli`, `calculator`, `internship`) so your project looks polished and discoverable?

About

A command-line calculator built in Python that supports basic operations such as addition, subtraction, multiplication, division, square root, and exponentiation. Developed as part of the Elevate Labs internship tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages