摘要: 1、执行 Python 脚本的两种方式 (1)命令编辑行。 (2)python环境下。 2、简述位、字节的关系 一个字节(bit)等于8个二进制位(bytes) 3、简述 ascii、unicode、utf-­‐8、gbk 的关系 向下兼容:unicode>utf-8>gbk>ascii 4、请写出 阅读全文
posted @ 2017-03-30 23:32 im777 阅读(436) 评论(2) 推荐(0) 编辑
摘要: my_age = 30 count = 0 while count my_age: print("no no no try samller") else: print("no no no try bigger") count += 1 else: print("对你无语,拜拜!") 阅读全文
posted @ 2017-03-30 23:18 im777 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 要求:1.三层循环 2.在第三层循环结束时退出所有循环. for实现: while实现: 阅读全文
posted @ 2017-03-30 23:12 im777 阅读(192) 评论(0) 推荐(0) 编辑