docasne ulozeni sec indikatoru pred smazanim

This commit is contained in:
David Brazda
2023-06-13 11:34:32 +02:00
parent 77272be886
commit 5fd6da7f59
7 changed files with 110 additions and 20 deletions

View File

@ -79,6 +79,9 @@ def eval_cond_dict(cond: dict) -> tuple[bool, str]:
return False, None
def Average(lst):
return sum(lst) / len(lst)
def safe_get(collection, key, default=None):
"""Get values from a collection without raising errors"""