You can use the builtin list.copy() method (available since Python 3.3): · You can slice it: new_list = old_list[:] · You can use the built in list() function:
確定! 回上一頁