浮点数用来表示实数信息。 在解释器中键入下面的代码: a = 0.0 print(‘a的类型为:’, type(a)) # 运行结果:a的类型为: <class ‘float’> pyth … Continue reading 浮点数类型(float)
浮点数用来表示实数信息。 在解释器中键入下面的代码: a = 0.0 print(‘a的类型为:’, type(a)) # 运行结果:a的类型为: <class ‘float’> pyth … Continue reading 浮点数类型(float)