Append elements of a set to a list in Python,a.extend(b)