Sobes.tech
Junior — Senior

Displaying various types of Python collections in the console

livecode

Task condition

What output will appear after executing the following code?


x = [i for i in range(10)]
y = {i for i in range(10)}
z = (i for i in range(10))

print(x)
print(y)
print(z)