1
u/KilledKingFireWolf Jun 25 '26
As far as I remember writing a = b will make "a" point to the same memory? (or something like that, I forgot about what it was) and it will have the same value as "b".
So the answer is E.)
2
u/KilledKingFireWolf Jun 25 '26
Okay so by thinking it over again.
b = b + [4] will create a new list, so it will not be the same list that "a" has.
So my finale answer is C.)
1
u/Sea-Ad7805 Jun 26 '26
Nice one, if you click the post you get to this Solution link to check your answer.
1
u/bestofbestofgood Jun 27 '26
I didn't get where is question complexity hidden? Or it is just demonstration of different ways to grow list?..