判断 是否可迭代 from collections.abc import Iterable ... range(10)] print(type(L),L) g = (x * x for x in range(10)) print(type(g),g,next(g) ...
確定! 回上一頁