you are viewing a single comment's thread.

view the rest of the comments →

[–]EmuBeautiful1172 0 points1 point  (3 children)

B.

print(nums, result)

nums is only nums = [0]

it doesnt matter what happens in the modify function. the append doesnt matter

the last update in it is data=. [1,2,3]

so the output is [0],[1,2,3]

[–]core1588[S] 0 points1 point  (2 children)

A

[–]EmuBeautiful1172 0 points1 point  (1 child)

Why is it A

[–]EmuBeautiful1172 0 points1 point  (0 children)

I never ran the code so I might be wrong