LogiQuest
Back to Lists
8

What is the output of the following code?

a = [1, 2, 3]
b = a[:]
b[0] = 99
print(a[0])
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.