阅读背景:

python判断变量类型是否为List列表

来源:互联网 
li =["hello","python","list"]
print(type(li))

if isinstance(li,list):
    print("This is a List")
li =["hello","python","list"]
print(type(li))

i



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: