gdritter repos GRUtils / master scripts / avg
master

Tree @master (Download .tar.gz)

avg @master

5812ac2
 
 
 
f183757
5812ac2
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))