til
判断是否是类的实例
a = 1 isinstance(a, int) # True b = 1 isinstance(b, str) # True