Skip to content

Commit

Permalink
Final QA
Browse files Browse the repository at this point in the history
  • Loading branch information
gahjelle committed Oct 8, 2024
1 parent cad1048 commit aff0c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-closure/roots.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def root_calculator(number):
square_root = make_root_calculator(2, 4)
print(square_root(42))

cubic_root = make_root_calculator(3, 2)
cubic_root = make_root_calculator(3)
print(cubic_root(42))


Expand All @@ -24,5 +24,5 @@ def __call__(self, number):
square_root = RootCalculator(2, 4)
print(square_root(42))

cubic_root = RootCalculator(3, 2)
cubic_root = RootCalculator(3)
print(cubic_root(42))

0 comments on commit aff0c00

Please sign in to comment.