Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def avAll(object):
- """LIST OF TUPLES"""
- a,b,c=[],[],[]
- a.append([i[0] for i in object])
- b.append([i[1] for i in object])
- c.append([i[2] for i in object])
- a = [sum(i)/len(i) for i in a]
- b = [sum(i)/len(i) for i in b]
- c = [sum(i)/len(i) for i in c]
- return (a,b,c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement