Moving Average by hallvabo

_=[]
while 1:s=raw_input();_=[eval(s[7:])]+_[:4];print s,"Average:%5.1f"%(sum(_)/len(_))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top