摘要: #语法1:# if 条件:# code1# code2# code3# ....# age=180# height=163# weight=75# sex='female'# is_beautiful=True## if age > 16 and age < 30 and height > 158 阅读全文
posted @ 2018-07-23 17:26 吴之家 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8'''默写: 循环嵌套必做:1. 求1-100的所有数的和2. 输出 1-100 内的所有奇数3. 输出 1-100 内的所有偶数5. 求1-2+3-4+5 ... 99的所有数的和1.打印出所有的1-1000中的 "水仙花数 ",所谓 "水仙花数 "是指一个三位数, 其各 阅读全文
posted @ 2018-07-23 17:19 吴之家 阅读(217) 评论(0) 推荐(0) 编辑