Skip to content

Samyar-Sharafi/python-cli-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ CLI Calculator - Python

A simple and user-friendly Command-Line Calculator built using Python. This calculator supports a variety of basic and advanced mathematical operations, including addition, subtraction, multiplication, division, exponentiation, square root, factorial, logarithm, and modulus.


๐Ÿš€ Features

  • โœ… Add, Subtract, Multiply, Divide
  • โœ… Power and Square Root
  • โœ… Factorial (non-negative integers)
  • โœ… Logarithm with base support
  • โœ… Modulus operation
  • โœ… Input validation and error handling
  • โœ… Menu-driven CLI interface
  • โœ… Designed with modular, clean, and readable Python code

๐Ÿ› ๏ธ Technologies Used

  • Python 3.x
  • Built-in modules only (math, input, print)
  • No third-party dependencies

๐Ÿ’ป How to Run

โœ… Prerequisites

โ–ถ๏ธ Running the Calculator

  1. Clone this repository:
    git clone https://github.com/<your-username>/cli-calculator.git
    cd cli-calculator
    
    

๐Ÿ‘จโ€๐Ÿ’ป Author Vineet Kumar Chaudhary Python Developer Intern | Data Science Enthusiast

About

A simple, interactive command-line calculator built in Python. Supports basic and scientific operations like addition, subtraction, multiplication, division, exponentiation, square root, factorial, modulus, and logarithm with error handling and input validation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages