python ——数字

143 阅读1分钟

🐱数字

一、 整型(int)

  • 二进制、八进制、十六进制

二、 浮点型(float)

三、 布尔型(bool)

  • True
  • False

四、 复数(complex)

  • a+nj
  • j^2 = -1