Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 863 Bytes

File metadata and controls

39 lines (31 loc) · 863 Bytes

python-calculator-cli

CLI-based calculator built using Python functions. Supports addition, subtraction, multiplication, and division with user input handling.

🧮 Python Calculator CLI

📌 Overview

This project is a simple command-line calculator built using Python. It performs basic arithmetic operations using functions.

🚀 Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • User input handling
  • Operation selection using conditions

🧠 Concepts Used

  • Functions
  • Parameters & Arguments
  • Return values
  • Conditional statements (if-elif)
  • User input handling

💻 How to Run

  1. Open the file in VS Code or any Python IDE
  2. Run the program
  3. Enter two numbers
  4. Choose operation (+, -, *, /)
  5. Get the result

📂 Example

Enter a: 5 Enter b: 3 Enter operation: + Output: 8

👨‍💻 Author

Santhosh K M