2017年8月9日
摘要: 1\if语句:if condition 是True,执行if clause语句,并跳过后面的elif或else语句;执行一次 2\while语句;只要while condition是True,就会执行while clause语句,执行完后回头再看while condition的判断值; 只要cond 阅读全文
posted @ 2017-08-09 22:31 auleon 阅读(2254) 评论(0) 推荐(0) 编辑
摘要: 1\直接输出数值和字符串类型: 1 print(2) 2 print('hello world') 2\ 阅读全文
posted @ 2017-08-09 22:26 auleon 阅读(172) 评论(0) 推荐(0) 编辑
摘要: A\The differences between == and = operators: 1 the == operator(equal to) asks whether two values are the same as each other; 2 the = operator(assignm 阅读全文
posted @ 2017-08-09 22:22 auleon 阅读(245) 评论(0) 推荐(0) 编辑