LogiQuest
Back to Tuples
6

What is the output of the following code?

t = (1, 2, 2, 3, 2)
print(t.count(2), t.index(3))
Easy

Discussion (0)

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

Log in to join the discussion.