"""Implement a rolling arithmetic mean.

None marks unavailable warm-up values; never backfill them with future observations.
All inputs are synthetic teaching examples. Run: python 14_simple-moving-average.py
"""
from tv_math import *

v=sma([1,2,3,4,5],3)
assert v==[None,None,2,3,4]
print(v)
