Skip to content

romanawais/Console-Base-Calculator-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image

Console-Based Scientific Calculator (Python)

A console-based scientific calculator built using Python. This project supports basic arithmetic as well as advanced mathematical operations such as trigonometric functions, logarithms, powers, and square roots. It is designed for beginners to practice Python fundamentals and command-line interaction.


🚀 Features

  • Basic arithmetic operations

    • Addition
    • Subtraction
    • Multiplication
    • Division
  • Scientific calculations

    • Square root
    • Power
    • Logarithm
    • Trigonometric functions (sin, cos, tan)
  • User-friendly console interface

  • Error handling for invalid inputs


🛠️ Technologies Used

  • Python 3
  • Built-in math library

📂 Project Structure

Console-Base-Calculator-Python/
│
├── main.py
├── action.py
├── README.md
└── .gitignore

▶️ How to Run the Program

  1. Clone the repository:

    git clone https://github.com/your-username/Console-Base-Calculator-Python.git
  2. Navigate to the project folder:

    cd Console-Base-Calculator-Python
  3. Run the program:

    python main.py

🎯 Purpose of the Project

This project helps beginners:

  • Understand Python syntax and logic
  • Work with functions and loops
  • Use Python’s built-in libraries
  • Build confidence in command-line applications

🤝 Contributing

Contributions are welcome! Feel free to fork this repository and submit a pull request.


Author

Roman Awais


📄 License

This project is open-source and available under the MIT License.

About

Console-Based Scientific Calculator built in Python that performs basic arithmetic and advanced mathematical operations such as trigonometric functions, logarithms, powers, and square roots. Designed for beginners to understand core Python concepts, user input handling, and modular programming through a command-line interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages