Note that: sum(a,[]) gets incredibly slow when a contains a lot of lists (it's 
runtime complexity is kwadratic in the number of lists in a). So it's better to 
do:
l=[]
for i in A:
    l.extend(i)

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to