Skip to content

Wadan3/Advance_Calculator_

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Build

🧮 Advanced Python Calculator

Python CLI License

A robust and interactive command-line calculator developed in Python, featuring advanced mathematical operations, strong input validation, dataclasses, type hints, and a scalable menu-driven architecture.


📖 Overview

Advanced Python Calculator is a console-based application designed to perform both basic and advanced mathematical calculations efficiently.

The project demonstrates modern Python programming concepts including:

  • Functions
  • Dataclasses
  • Type Hinting
  • Error Handling
  • Modular Design
  • User Input Validation

This calculator provides a clean menu-driven interface while maintaining reliability and extensibility.


✨ Features

Basic Operations

  • Addition
  • Subtraction
  • Multiplication
  • Division

Advanced Operations

  • Power Calculation
  • Square Root
  • Logarithm (Custom Base Support)
  • Sine Function
  • Cosine Function
  • Tangent Function

Additional Features

  • Input Validation
  • Error Handling
  • Interactive Menu System
  • Degree-Based Trigonometric Functions
  • Dataclass-Based Menu Architecture
  • Type Hints for Better Maintainability

🛠 Technologies Used

Technology Purpose
Python 3 Main Programming Language
math Mathematical Functions
dataclasses Menu Structure
typing Type Hints
CLI User Interface

📂 Project Structure

Advance_Calculator_
│
├── Advance_Calculator.py
├── README.md
└── LICENSE

🚀 How to Run

Clone Repository

git clone https://github.com/Wadan3/Advance_Calculator_.git
cd Advance_Calculator_

Run Application

python Advance_Calculator.py

or

python3 Advance_Calculator.py

📷 Screenshot

Advanced Python Calculator

📋 Sample Menu

========================================
      Advanced Calculator (Pro)
========================================

1. Addition (+)
2. Subtraction (-)
3. Multiplication (*)
4. Division (/)
5. Power (^)
6. Square Root (sqrt)
7. Logarithm (log)
8. Sine (sin)
9. Cosine (cos)
10. Tangent (tan)
11. Exit

🎯 Learning Objectives

This project demonstrates:

  • Object-Oriented Thinking
  • Functional Programming Concepts
  • Python Dataclasses
  • Error Handling Techniques
  • Mathematical Computation
  • CLI Application Development

📦 Release

Current Version:

v1.0.0

📜 License

This project is licensed under the MIT License.


👨‍💻 Author

Abdul Mosawer Wadan

Computer Engineering Student

Amirkabir University of Technology (Tehran Polytechnic)

GitHub: https://github.com/Wadan3

About

A robust, interactive command-line calculator written in Python. It features advanced mathematical operations, rigorous input validation, and a scalable menu system built with Python dataclasses and type hinting.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages