Skip to content

Complete the calculator functionality #17

@faizannaseerrr

Description

@faizannaseerrr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions