Skip to content

sdfox5/python-calculator_v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages