hello, this should be a simple one i guess, i have this so far:

avrg_coords=[sum(x) for x in zip (*coord_list)]

but i need to be able to divide the result by len(coord_list) to find the 
average. Is there a way i can add this into this line, or would i have to do 
this seperately? maybe there is alternate way to average lists of tuples?


thanks, 
Sam 

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/4602ec5b-a7be-479c-a951-4aa8d7c59d7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to