# 第一步:导入模块
from collections import Iterable
# import collections
# isinstance(数据,Iterable)
print(isinstance([], Iterable))
print(isinstance((), Iterable))
print(isinstance({}, Iterable))
print(isinstance(set([]), Iterable))
print(isinstance("hello", Iterable))
print(isinstance((x for x in range(10)), Iterable))
print(isinstance(10, Iterable))
print(isinstance(True, Iterable))