Загружаю решение задачи после фидбека 2 от Артура

This commit is contained in:
eduard ermakov 2023-07-24 12:25:33 +03:00
parent 2a495c1453
commit e4c2142663
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,7 @@ def verify_all(dataset):
summa_success = int() summa_success = int()
summa_failed = int() summa_failed = int()
for result in dataset: for result in dataset:
verify(result[0], result[1], result[2]) if verify(result[0], result[1], result[2]):
if verify:
summa_success += 1 summa_success += 1
else: else:
summa_failed += 1 summa_failed += 1
@ -41,7 +40,8 @@ def min_array(array):
def max_array(array): def max_array(array):
max = array[0] max = array[0]
for i in array: for i in array:
if i > max: max = i if i > max:
max = i
return max return max

BIN
HNS/Excercises/1.zip Normal file

Binary file not shown.