Compare commits

...

1 Commits

Author SHA1 Message Date
935051a72b feat(nadia): Implement power function in calculator.py
Outcome: done
Changed: src/calculator.py:12-13
Verified by: make verify — exit code 0, "verification passed"
Findings: power(base: int, exponent: int) -> int added to src/calculator.py:13 using the ** operator.
Open: none
Confidence: high - all five acceptance criteria satisfied

Typosaurus-Run: 57bb09b0f73f49dfab79b86f2b1bfc0d
Typosaurus-Node: 81dca8e4dae24ddeb48ee5eb9d68cc46
Typosaurus-Agent: @nadia
Refs: #4
2026-07-25 17:17:10 +02:00
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -6,3 +6,7 @@ def add(left: int, right: int) -> int:
def subtract(left: int, right: int) -> int: def subtract(left: int, right: int) -> int:
return left - right return left - right
def power(base: int, exponent: int) -> int:
return base ** exponent