# Desktop Python teaching example. Numerical inputs are illustrative.
from statistics import mean
light = [120, 130, 125]  # fictional raw units
dark = [800, 820, 810]
threshold = (mean(light) + mean(dark)) / 2
for reading in [125, 470, 815]:
    print(reading, "dark" if reading > threshold else "light")
