05python上

location 位置
untitled 未命名的
fullstack 全栈
interpreter 解释器

字符格式化输出
占位符

  %s s = string
  %d d = digit 整数
  %f f = float 浮点数,约等于小数

数据运算
  数据类型出初识
    数字
    整数 int(integer)

    整形

    长整型

    in py3已经不区分整型与长整型,统一都叫整型

    in C    int age 22,  long age

    布尔 只有2状态,分别是

     真 True

     假 False

字符串
  salary.isdigit()
  计算机中, 一切皆为对象
  世界万物,皆为对象,一切对象皆可分类

    

猜你喜欢

转载自www.cnblogs.com/money131/p/9434974.html