Skip to content

Commit 011f332

Browse files
authored
Fix docstring and update function return type
1 parent 9b669cd commit 011f332

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Week04/functions_kerimcan_dede.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ def custom_equation(x: int=0, y: int=0, /, a: int=1, b: int=1, *, c: int=1) -> f
1010
:param4: power of the second number
1111
:param5: divisor of sum of exponantiated numbers
1212
13-
:result: division the sum of exponantiated numbers
13+
:return: division the sum of exponantiated numbers
1414
"""
1515
return (x**a + y**b) / c
1616

1717
call_counter = 0
1818
caller_dict = {}
19-
def fn_w_counter() -> (int, dict):
19+
def fn_w_counter() -> (int, dict[str, int]):
2020
caller = __name__
2121
global call_counter
2222
call_counter += 1

0 commit comments

Comments
 (0)