摘要: # -*- coding:utf-8 -*- # 1、判断下列逻辑语句的True,False. # 1) a = 1 > 1 or 3 < 4 or 4 > 5 and 2 > 1 and 9 > 8 or 7 < 6 print(a) True # 2) b = not 2 > 1 and 3 < 阅读全文
posted @ 2018-01-22 22:38 树叶有花 阅读(298) 评论(0) 推荐(0)
摘要: 面试题持续更新中...... python2 与python3 区别的总结 持续更新中...... python 初识 python 基础知识练习题 python基础知识(理论) 基本数据类型初识(一)数字,字符串 基础数据类型初识(二)列表,元组 基础数据类型初识(三)字典 迭代器,生成器,列表推 阅读全文
posted @ 2018-01-22 16:13 树叶有花 阅读(165) 评论(0) 推荐(0)
摘要: 一、用户交互.input 变量将运算的中间结果暂存在内存,以便后续程序调用 一、使用while循环输入 1 2 3 4 5 6 7 8 9 10 count = 1 while count < 11: if count == 7: count += 1 continue print(count) c 阅读全文
posted @ 2018-01-21 13:19 树叶有花 阅读(138) 评论(0) 推荐(0)