Python · The Data Model: Identity & Mutability
Predict the output: ``` a = [1, 2] b = a a += [3, 4] print(a) print(b) ```
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.