Python · Scientific Computing & Data Science
You extracted a sub-block b = a[1:4, 1:4] from a 2D array to experiment on, then modified b. Later a is unexpectedly changed too. What went wrong and how do you fix it?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
