Skip to content

CreatedByCC/console-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python MIT License 100 Days of Code

🧮 Calculator

A beginner‑friendly Python calculator that performs basic arithmetic operations using functions and a dictionary‑based operation system.

💡 What I Learned

  • Mapping functions to operators using a Python dictionary
  • Structuring nested while loops for continuous calculations
  • Reusing results to chain multiple operations
  • Writing clean, reusable arithmetic functions
  • Handling user input and controlling program flow

🚀 How to Play

Run main.py in a Python environment and follow the prompts

📁 Files

  • main.py: Main calculator logic
  • art.py: Contains ASCII art logo

📚 Credits

Art inspired by the 100 Days of Code: Python Bootcamp by Dr. Angela Yu. Used for educational purposes under fair use.

🙏 Acknowledgements

  • Thanks to Dr. Angela Yu and the team behind the 100 Days of Code: Python Bootcamp for the original project structure and assets.
  • This version was adapted and expanded by me as part of my creative developer-educator journey.

📄 License

This project is licensed under the MIT License. See the LICENSE file for full details.

About

A simple Python calculator built for Day 10 of the 100 Days of Code challenge, focusing on storing functions as dictionary values and chaining calculations using loops.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages