LogiQuest
Back to Sets
11

What is the output of the following code?

s = {1, 2, 3}
s.remove(2)
print(sorted(s))
Easy

Discussion (0)

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

Log in to join the discussion.