Загружаю решение задачи после фидбека 2 от Артура
This commit is contained in:
parent
2a495c1453
commit
e4c2142663
|
@ -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
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue