Skip to content

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

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages