Update mean.py

uses now float for the mean