1.类型判断
lst = [1,2,3] type(lst)
lst = [1,2,3]
type(lst)
if isinstance(lst, list) print ‘lst is list’
if isinstance(lst, list)
print ‘lst is list’