Python · Useful Modules & Recipes
You have lst = [1, [2, 3]], do c = copy.copy(lst), then c[1].append(9). Does lst's inner list change? Why?
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.