diff --git a/HNS/Excercises/072023 Test function/main.py b/HNS/Excercises/072023 Test function/main.py index af999eb..a394e64 100644 --- a/HNS/Excercises/072023 Test function/main.py +++ b/HNS/Excercises/072023 Test function/main.py @@ -19,8 +19,7 @@ def verify_all(dataset): summa_success = int() summa_failed = int() for result in dataset: - verify(result[0], result[1], result[2]) - if verify: + if verify(result[0], result[1], result[2]): summa_success += 1 else: summa_failed += 1 @@ -41,7 +40,8 @@ def min_array(array): def max_array(array): max = array[0] for i in array: - if i > max: max = i + if i > max: + max = i return max diff --git a/HNS/Excercises/1.zip b/HNS/Excercises/1.zip new file mode 100644 index 0000000..5e3da60 Binary files /dev/null and b/HNS/Excercises/1.zip differ