#!/usr/bin/env python3
"""Deterministic Python 3 source fixture for upload and AST tests."""
from typing import Iterable

def moving_average(series: Iterable[float]) -> float:
    vals = list(series)
    return sum(vals) / len(vals) if vals else 0.0

if __name__ == "__main__":
    print(f"Average: {moving_average([10.5, 20.5, 30.0]):.2f}")
