Skip to content

Comments

Complete the calculator functionality - Issue #17#18

Open
add-hello-world[bot] wants to merge 1 commit intomainfrom
Complete-the-calculator-functionality-17
Open

Complete the calculator functionality - Issue #17#18
add-hello-world[bot] wants to merge 1 commit intomainfrom
Complete-the-calculator-functionality-17

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.

1 participant