LogiQuest
Back to Lists
23

What is the output of the following code?

a = [1, 2, 3]
a[1:2] = [7, 8, 9]
print(a)
Medium

Discussion (0)

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

Log in to join the discussion.