Question #608

What is the output of the code snippet below?
print({1 for i in range(5)})

{ and } indicate a set. Sets don't allow duplicates! (docs.python.org/3/library/stdtypes.html#set-types-set-fro...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵