average strategy with not fucked avg function
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-09-11 00:46:33 +02:00
parent c68e220be3
commit cfd8f3b899
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -2,7 +2,10 @@ import numpy as np
def avg(ls: list) -> int:
return sum(ls) / len(ls)
if len != 0:
return sum(ls) / len(ls)
else:
return 0
def decision(h1, h2):