4 ms·Python Still Surprises3 points by todsacerdoti 2y agomaleldil 2y agoIME, I've never seen a situation where `x += y` is preferred over `x.extend(y)`, with the bonus that `extend` works in places where `+=` doesn't, like tuples where reassignment isn't possible.