P28 复制 a = [1,2,3,[1,2]] b = a b is a # True c = list[a] # shallow copy c is a # False c[3][0] = 100 a # [1,2,3,[100,2]] import copy d = copy.deepcopy(a) # deep copy, recusion d[3][0] = 99 a # [1,2,3,[100,2]] P29 Python 中一切都是第一类的 Before line = "Good,…