Issue Link: alikhan1998/BABLU-The-Smart-Calculator-Assistant #1
Issue Details: Implement a feature that keeps track of the user's calculation history. This feature will allow users to view their previous calculations and results, providing them with a convenient way to reference their work.
Changes Made:
- Created a data structure (dictionary) to store the history of calculations.
- Whenever a calculation is performed, stored the input expression and its result in the data structure.
- Provided a command for users to view their calculation history. Research and Challenges: Researched data structures suitable for storing calculation history. The main challenge was ensuring efficient retrieval and display of history. Interactions with Maintainers: No direct interactions with maintainers for this issue.
Difficulties Faced and Solutions: Designing the data structure for history storage required careful consideration. Ultimately, a dictionary proved to be an effective choice for this feature.
Pull Request: Link to Pull Request
Top comments (0)