5 lines
81 B
Python
5 lines
81 B
Python
x = (i * i for i in range(10))
|
|
|
|
print(type(x))
|
|
for i in x:
|
|
print(i, end=' ')
|