python 输出变量类型
1 2 3 4 5 | a = 10 print ( type (a)) #int整形,str字符串 #强制类型转换 a = str ( "123" ) print ( type (a)) |
标签:
python 输出变量类型
python 输出变量类型
1 2 3 4 5 | a = 10 print ( type (a)) #int整形,str字符串 #强制类型转换 a = str ( "123" ) print ( type (a)) |