LogiQuest
Back to Comprehensions and Generators
3

What is the output of the following code?

print({x % 3 for x in range(10)})
Easy

Discussion (0)

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

Log in to join the discussion.