Changes also appear on the main object even though saved only on a different object?
A dict:
transportation = {"car":"ford", "coche":"fiat"}
The changes:
x = transportation.setdefault("carro", "BMW")
Output of the object where changes were stored(x):
BMW
Output of the original dict:
{"car":"ford", "coche":"fiat", "carro", "BMW"}