which is more pythonic/faster append or +=[]

alf ask at me
Wed May 9 00:37:04 EDT 2007


two ways of achieving the same effect


l+=[n]

or

l.append(n)


so which is more pythonic/faster?

-- 
alfz1



More information about the Python-list mailing list