Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 814 Bytes

readme.md

File metadata and controls

23 lines (20 loc) · 814 Bytes

Calculator v1

A simple Python project to perform basic arithmetic operations through a console-based calculator bot. The program guides the user to input numbers and an operation, then displays the result.

Features

  • Supports the following arithmetic operations:
    • Addition (+)
    • Subtraction (-)
    • Multiplication (*)
    • Division (/)
    • Floor Division (//)
    • Modulus (%)
  • Provides a /help command to guide users on available operations.
  • Handles invalid input gracefully.
  • Prevents division by zero with error handling.

How to Run

  1. Ensure you have Python installed on your system.
  2. Clone the repository or download the project files.
  3. Open a terminal or command prompt in the project directory.
  4. Run the program using the command:
    python calculator_bot.py