diff --git a/strat/main.py b/strat/main.py index 3ad2b2f..61a1782 100644 --- a/strat/main.py +++ b/strat/main.py @@ -2,7 +2,7 @@ import numpy as np def avg(ls: list) -> int: - if len != 0: + if len(ls) != 0: return sum(ls) / len(ls) else: return 0