有元组推导式吗?没有!

root
abc abc
  • 5 Jul

t=(x for x in range(9))
print(type(t),next(t),"0000")

<class 'generator'> 0 0000