Skip to content

Conversation

@add-hello-world
Copy link

Description:
Several functions in calculator.py are missing.
Please implement:

Basic operations (add, subtract, multiply, divide)

Memory functions (store_in_memory, etc.)

Variable assignment and expression evaluation

Factorial, sqrt, power

Make sure to handle divide-by-zero and invalid inputs gracefully.
Include simple unit tests in a new file test_calculator.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants