Skip to content

santhoshkm-dev/python-calculator-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages