摘要: i=1 while True: username=input("请输入你的用户名:") password=int(input("请输入你的密码:")) if username=="小明" and password==123456: print("登陆成功!") break else: i+=1 if 阅读全文
posted @ 2019-03-05 13:23 遗忘天际 阅读(110) 评论(0) 推荐(0) 编辑
摘要: summ=0 count=1 while i<=100: summ=summ+i cout+=1 print(summ) 1,计算机基础。2,python历史。 宏观上:python2 与 python3 区别: python2 源码不标准,混乱,重复代码太多, python3 统一 标准,去除重复 阅读全文
posted @ 2019-03-05 13:17 遗忘天际 阅读(131) 评论(0) 推荐(0) 编辑