摘要: # athor : DevilsWhite# -*- coding:UTF-8 -*-account = { "is_authenticated":False, "username":"alex", "password":"abc123" } #假装这个是数据库vip_record = []wall 阅读全文
posted @ 2019-06-10 23:45 DevilsWhite 阅读(95) 评论(0) 推荐(0)
摘要: # athor : DevilsWhite# -*- coding:UTF-8 -*-# 1 作业版(12行代码)last_class = [] #建个上级目录,好循环和调用 while True: print("现有地址如下:") for k in menu.keys():print(k) #同商 阅读全文
posted @ 2019-06-10 23:35 DevilsWhite 阅读(140) 评论(0) 推荐(0)
摘要: # athor : DevilsWhite# -*- coding:UTF-8 -*-Account = {"alex":123,"white":456,"angelbaby":789,"xiaoboya":123456789}username_ = dict.keys(Account)with o 阅读全文
posted @ 2019-05-23 22:20 DevilsWhite 阅读(278) 评论(0) 推荐(0)
摘要: # athor : DevilsWhite# -*- coding:UTF-8 -*- #1.“#”表示单行注释,多行注释用‘’‘’‘’print("让我进行一个心理测试,请回答下面的十道题") count = 0while count < 2: #2.“while”循环,需要定义count值来确定 阅读全文
posted @ 2019-05-20 23:03 DevilsWhite 阅读(689) 评论(0) 推荐(0)