Skip to content

Commit e048037

Browse files
authored
Update functions_ali_duman.py
1 parent 490e00a commit e048037

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Week03/functions_ali_duman.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def fn_w_counter() -> tuple[int, dict[str, int]]:
2222

2323
# Initialize function attributes
2424
if not hasattr(fn_w_counter, "total_calls"):
25-
fn_w_counter.total_calls = 0 # Toplam çağrı sayısı
26-
fn_w_counter.calls_per_caller = {} # Çağırıcı başına çağrı sayısı
25+
fn_w_counter.total_calls = 0
26+
fn_w_counter.calls_per_caller = {}
2727

2828
# Increment the total call count
2929
fn_w_counter.total_calls += 1
@@ -35,4 +35,4 @@ def fn_w_counter() -> tuple[int, dict[str, int]]:
3535
fn_w_counter.calls_per_caller[caller] = 1
3636

3737
# Return the total number of calls and the dictionary of calls per caller
38-
return fn_w_counter.total_calls, fn_w_counter.calls_per_caller
38+
return fn_w_counter.total_calls, fn_w_counter.calls_per_caller

0 commit comments

Comments
 (0)