<languages />
❮字典方法
复制 car 字典:
car
car = { "brand": "Ford", "model": "Mustang", "year": 1964 } x = car.copy() print(x)
The copy() 方法返回指定字典的副本。
copy()
dictionary.copy()
没有参数