This commit is contained in:
parent
d17d586f66
commit
85bb175931
@ -9,6 +9,8 @@ def avg(ls: list) -> int:
|
||||
|
||||
|
||||
def decision(h1, h2):
|
||||
if 1 not in h2:
|
||||
return 0
|
||||
if avg(h2) > 0.51:
|
||||
return 1
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user