最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

登錄相關GUI.py

2023-02-27 16:20 作者:C書Y特  | 我要投稿

dict1 = {"lczx1": "1234","lczx2":"2345"}
dl_dict = {}
xz = ""
def dl():
? ?global xz
? ?while True:
? ? ? ?dlzh = input("請輸入賬號登錄?。。。?#34;)
? ? ? ?dlmm = input("請輸入密碼登錄?。。。?#34;)
? ? ? ?if len(dlmm) >= 4:
? ? ? ? ? ?if dlzh in dict1:
? ? ? ? ? ? ? ?if dlmm == dict1[dlzh]:
? ? ? ? ? ? ? ? ? ?if dlzh in dl_dict:
? ? ? ? ? ? ? ? ? ? ? ?print(f"賬號 ?{dlzh} ?已登錄過,請重新輸入!?。?#34;)
? ? ? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ? ? ?dl_dict[dlzh] = dlmm
? ? ? ? ? ? ? ? ? ? ? ?print(f"賬號 ?{dlzh} ?已成功登錄?。?!")
? ? ? ? ? ? ? ? ? ? ? ?dlpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ? ? ? ? ? ? ? ? ?if dlpd == "1":
? ? ? ? ? ? ? ? ? ? ? ? ? ?print("已進入初始界面!?。?#34;)
? ? ? ? ? ? ? ? ? ? ? ? ? ?ks()
? ? ? ? ? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ? ? ? ? ?print("操作已完成?。?!")
? ? ? ? ? ? ? ? ? ? ? ? ? ?xz = "0"
? ? ? ? ? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ?print("賬號或密碼輸入錯誤?。。?#34;)
? ? ? ? ? ? ? ? ? ?dlpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ? ? ? ? ? ? ?if dlpd == "1":
? ? ? ? ? ? ? ? ? ? ? ?print("已進入初始界面?。?!")
? ? ? ? ? ? ? ? ? ? ? ?ks()
? ? ? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ? ? ?print("操作已完成?。?!")
? ? ? ? ? ? ? ? ? ? ? ?xz = "0"
? ? ? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ?else:
? ? ? ? ? ? ? ?print("賬號似乎不存在?。?!")
? ? ? ? ? ? ? ?dlpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ? ? ? ? ?if dlpd == "1":
? ? ? ? ? ? ? ? ? ?print("已進入初始界面?。?!")
? ? ? ? ? ? ? ? ? ?ks()
? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ?print("操作已完成!??!")
? ? ? ? ? ? ? ? ? ?xz = "0"
? ? ? ? ? ? ? ? ? ?break
? ? ? ?else:
? ? ? ? ? ?print("密碼長度不能小于4位,請重新輸入?。?!")

def zc():
? ?global xz
? ?while True:
? ? ? ?zczh = input("請輸入賬號注冊?。。。?#34;)
? ? ? ?zcmm = input("請輸入密碼注冊?。。。?#34;)
? ? ? ?if len(zcmm) >= 4:
? ? ? ? ? ?if zczh in dict1:
? ? ? ? ? ? ? ?print(f"賬號 ?{zczh} ?已存在請重新輸入?。?!")
? ? ? ? ? ?else:
? ? ? ? ? ? ? ?dict1[zczh] = zcmm
? ? ? ? ? ? ? ?print(f"賬號 ?{zczh} ?已成功注冊!?。∶艽a是 ?{zcmm} ??。?!")
? ? ? ? ? ? ? ?zcpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ? ? ? ? ?if zcpd == "1":
? ? ? ? ? ? ? ? ? ?print("已進入初始界面?。?!")
? ? ? ? ? ? ? ? ? ?ks()
? ? ? ? ? ? ? ? ? ?break
? ? ? ? ? ? ? ?else:
? ? ? ? ? ? ? ? ? ?print("操作已完成?。?!")
? ? ? ? ? ? ? ? ? ?xz = "0"
? ? ? ? ? ? ? ? ? ?break
? ? ? ?else:
? ? ? ? ? ?print("密碼長度不能小于4位,請重新輸入?。?!")

def zx():
? ?global xz
? ?while True:
? ? ? ?zx = input("請輸入要注銷的賬號:")
? ? ? ?if zx in dict1:
? ? ? ? ? ?dict1.pop(zx)
? ? ? ? ? ?print(f"用戶 ?{zx} ?已注銷?。?!")
? ? ? ? ? ?scpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ? ? ?if scpd == "1":
? ? ? ? ? ? ? ?print("已進入初始界面?。?!")
? ? ? ? ? ? ? ?ks()
? ? ? ? ? ? ? ?break
? ? ? ? ? ?else:
? ? ? ? ? ? ? ?print("操作已完成?。?!")
? ? ? ? ? ? ? ?xz = "0"
? ? ? ? ? ? ? ?break
? ? ? ?else:
? ? ? ? ? ?print("賬號似乎不存在?。?!")

def ks():
? ?global xz
? ?while xz != "0":
? ? ? ?xz = input("注冊輸入1,登錄輸入2,注銷輸入3,查詢輸入4:")
? ? ? ?if xz == "1":
? ? ? ? ? ?zc()
? ? ? ?elif xz == "2":
? ? ? ? ? ?dl()
? ? ? ?elif xz == "3":
? ? ? ? ? ?zx()
? ? ? ?elif xz == "4":
? ? ? ? ? ?cx()
? ? ? ?else:
? ? ? ? ? ?print("輸入有誤,請重新輸入?。。?#34;)

def cx():
? ?global xz
? ?cxzh = input("請輸入需要查詢的賬號!??!")
? ?if cxzh in dict1:
? ? ? ?print(f"賬號 ?{cxzh} ?已存在!??!")
? ? ? ?cxpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ?if cxpd == "1":
? ? ? ? ? ?print("已進入初始界面!??!")
? ? ? ? ? ?ks()
? ? ? ?else:
? ? ? ? ? ?print("操作已完成!??!")
? ? ? ? ? ?xz = "0"
? ?else:
? ? ? ?print(f"賬號 ?{cxzh} ?不存在!??!")
? ? ? ?cxpd = input("是否需要回到主界面?是請選擇1,不是請隨意輸入:")
? ? ? ?if cxpd == "1":
? ? ? ? ? ?print("已進入初始界面!??!")
? ? ? ? ? ?ks()
? ? ? ?else:
? ? ? ? ? ?print("操作已完成?。?!")
? ? ? ? ? ?xz = "0"
ks()

登錄相關GUI.py的評論 (共 條)

分享到微博請遵守國家法律
泸州市| 赤峰市| 津市市| 岚皋县| 钟祥市| 荔波县| 阿瓦提县| 漠河县| 当阳市| 大石桥市| 阜康市| 云安县| 玛多县| 溧阳市| 河北区| 山丹县| 射洪县| 阳朔县| 阿鲁科尔沁旗| 呼图壁县| 乾安县| 兴国县| 宜城市| 香港 | 马公市| 独山县| 郸城县| 盐山县| 南丹县| 东城区| 西乌| 宁国市| 镇雄县| 巴林左旗| 五台县| 尼勒克县| 玉山县| 寻乌县| 商城县| 筠连县| 耒阳市|