Python · Dictionaries & Sets
What does this print? d1 = {"k": [1, 2, 3]} d2 = d1.copy() d2["k"].append(4) print(d1["k"])
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
Free to start — download the app or use it in your browser.