project-based-learning

๐Ÿงฎ CLI Calculator

A simple and robust command-line calculator built using Python.
This project was created as part of a project-based learning journey, focusing on problem-solving, clean logic design, and real-world coding practices.

Project Repository: CLI Calculator on GitHub


๐Ÿ“Œ Problem Statement

Build a command-line application that:


๐ŸŽฏ Objectives


โš™๏ธ Features


๐Ÿง  Program Logic

  1. Display a menu of available operations
  2. Ask the user to select an operation
  3. Exit the program if the user selects Exit
  4. Validate the userโ€™s menu choice
  5. Prompt the user to enter two numbers
  6. Perform the selected arithmetic operation
  7. Display the result
  8. Repeat the process until Exit is chosen

๐Ÿ—‚ Project Structure

```text cli-calculator/ โ”‚ โ”œโ”€โ”€ main.py # Handles user interaction and program flow โ”œโ”€โ”€ calculator.py # Contains arithmetic logic functions โ””โ”€โ”€ README.md # Project documentation