变量的类型:
代码加结论
>>> # int 整数 >>> result =10 >>> print(type(result))>>> # float 小数 >>> result =3.14 >>> print(type(result)) >>> #str >>> name ='isaac' >>> print(type(name)) >>> name="hello" >>> print(type(name)) >>> #bool 布尔类型 >>> result =True >>> print(type(result))