可迭代对象

判断对象的类型

x = 5
type(x)
int
isinstance(x, int)
True