gdritter repos GRUtils / master scripts / avg
master

Tree @master (Download .tar.gz)

avg @masterraw · history · blame

1
2
3
4
5
6
#!/bin/python2

import sys

nums = [float(l) for l in sys.stdin.read().split()]
print sum(nums) / float(len(nums))