Skip to content

salaficoding/Basic-Calculator-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🧮 Modern Python Calculator - Salafi Coding Theme

Welcome to the Modern Python Calculator project! This is a stylish, fully functional calculator application built using Python with a beautiful Salafi Coding theme. Featuring a sleek combination of purple, black, and white, it delivers both functionality and aesthetics in a user-friendly interface.


🌟 Features

🔗 Themed Design

  • Background: Elegant black for a sleek and modern look.
  • Buttons: White with clear purple text.
  • Input Field: Black background with white text, ensuring all elements are visible and cohesive.

🔢 Functionality

  • Perform basic arithmetic operations:
    • Addition (+)
    • Subtraction (-)
    • Multiplication (×)
    • Division (÷)
  • Clear Input: A "C" button to reset the input field.
  • Error Handling: Provides user-friendly feedback for invalid inputs or division by zero.

📐 Modern Layout

  • Dynamically arranged buttons in rows for easy interaction.
  • Optimized for readability and usability.

🛠️ Technologies Used

  1. Python: Core functionality for calculations.
  2. Tkinter: GUI framework for creating a modern, themed interface.

🚀 How to Use

  1. Clone or download the repository.
  2. Ensure you have Python 3.x installed on your system.
  3. Install the Tkinter library if it’s not already available (it comes pre-installed with most Python distributions).
  4. Run the calculator.py file:
    python calculator.py
  5. Enjoy using your stylish Python calculator!

🎨 Screenshots

🖥️ Desktop View

Desktop View
A visually appealing and functional calculator interface.


👩‍💻 Contributing

Contributions are always welcome! If you have ideas for new features or improvements, feel free to fork the repository and submit a pull request.


🛡️ License

This project is licensed under the MIT License, allowing you to use and modify it for personal or commercial projects.


💡 What’s Next?

  • Add support for advanced calculations (e.g., percentages, square roots, trigonometric functions).
  • Incorporate theming options for light and dark modes.

Acknowledgments

This project is part of the Salafi Coding Project, aimed at making coding fun, accessible, and visually engaging for everyone.


Happy Coding! 😊

About

Basic calculator in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages