Py 3基礎 day2(continue2)

深淺copy import copy person = ['name',['saveing',100]] ''' p1 = copy.copy(person) p2 = person[:] p3 = list(person)''' p1 = person[:] p2 = person[:] p1[0] = 'zhang' p2[0] = 'fengjie' p1[1][1] = 50 print(
相關文章
相關標籤/搜索