LogiQuest
Back to Sets
8

What is the output of the following code?

words = ['a', 'b', 'a', 'c', 'b']
print(len(set(words)))
Easy

Discussion (0)

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

Log in to join the discussion.