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