How to make a shallow copy of a list in Python,newprefix = list(prefix)