python-CSD-kursu/python-temel/uretici.nesne.py

6 lines
81 B
Python

x = (i * i for i in range(10))
print(type(x))
for i in x:
print(i, end=' ')