@查看数据类型的方法 数据类型包括数字类型、布尔值(bool)、字符串(str) type:查看数据类型 temp = ‘hello’ t = type(temp) print(t) help、type:查看数据类型的全部方法 help(type(temp)) dir:查看类下面的全部方法 d = dir(temp) print(d) 查看类下某特定方法 temp.upeer()