a=11,请用type函数判断是什么类型的数据。
d=[1,2,3,4],请用type函数判断是什么类型的数据
a=11 d=[1,2,3,4] print(type(a)) print(type(d))
结果:
<type 'int'> <type 'list'>