2018年4月14日

第二章 Chapter 2

摘要: 1.取变量的内存地址:id() 2.身份运算 is x is y,类似id(x)==id(y) is not x is not y,类似id(x)!=id(y) 阅读全文

posted @ 2018-04-14 17:13 luminous-all 阅读(60) 评论(0) 推荐(0)

2018年4月13日

第一章 Chapter 1

摘要: 1.python是先编译后解释的语言 2.输入输出 标准输入 name=input("your name") print(name) 标准输出 print("hello world") 格式化输出 3.变量 什么是变量 变量的定义规范 变量定义的规则: 变量名只能是 字母、数字或下划线的任意组合 变 阅读全文

posted @ 2018-04-13 21:49 luminous-all 阅读(81) 评论(0) 推荐(0)

导航