Skip to content

New version with english comments #12762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update time_algo_exec.py
  • Loading branch information
robohie authored May 21, 2025
commit 76e1190e507e5e28fee7346ff15f55bd5d66e02e
4 changes: 2 additions & 2 deletions other/time_algo_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def calc(operations: dict) -> float:
>>> operations1 = {"addition":(2, 0.1), "subtraction":(1, 0.2)}
>>> operations2 = {"addition":(2, 0.1), "subtraction":(1, 0.2, 1)}
>>> calc(operations1)
>>> 0.4
0.4
>>> calc(operations2)
>>> 0
0
"""
temps = 0
for couple in operations.values():
Expand Down