Kamus Salin Python Tetap Sama Sama
# Python never implicitly copies objects.
dict2 = dict(dict1)
# OR
dict2 = dict1.copy()
Powerful Penguin
# Python never implicitly copies objects.
dict2 = dict(dict1)
# OR
dict2 = dict1.copy()