Skip to content

Commit e7c612e

Browse files
author
Seher Arslanbay
committed
now fixed? idk
1 parent d826108 commit e7c612e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎Week04/functions_seher_arslanbay.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
custom_power = lambda x=0, /, e=1: x ** e
33

44

5-
def custom_equation(x: int = 0, y: int = 0, /, a: int = 1, b: int = 1, *, c: int = 1) -> float:
5+
def custom_equation(x: int = 0, y: int = 0, /, a: int = 1, b: int = 1, *,
6+
c: int = 1) -> float:
67
"""
78
Calculate the result of (x**a + y**b) / c.
89
@@ -15,8 +16,7 @@ def custom_equation(x: int = 0, y: int = 0, /, a: int = 1, b: int = 1, *, c: int
1516
"""
1617
return (x ** a + y ** b) / c
1718

18-
19-
def fn_w_counter() -> tuple(int, dict[str, int]):
19+
def fn_w_counter() -> tuple[int, dict[str, int]]:
2020
if not hasattr(fn_w_counter, "call_counter"):
2121
fn_w_counter.call_counter = 0
2222
fn_w_counter.caller_dict = {}

0 commit comments

Comments
 (0)