1.查看字符类型 数字: int 字符:str type() 例子: a=1 print type(a) #a是已赋值的变量 转载于:https://www.cnblogs.com/amim/p/10659407.html