浅谈python中的变量默认是什么类型 1、type(变量名),输出的结果就是变量的类型; 例如 >>> type(6) <type int > 2、在Python里面变量在声明时 python编程 2022-04-08 221 点赞 3 评论 334 浏览