无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(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的評論 (共 條)

分享到微博請遵守國家法律
宝应县| 芷江| 湖南省| 大新县| 元阳县| 襄汾县| 永吉县| 黑山县| 沽源县| 深州市| 科技| 噶尔县| 乐至县| 钦州市| 湘乡市| 新昌县| 定州市| 萨迦县| 古丈县| 富锦市| 焉耆| 青川县| 宁远县| 虎林市| 东乌| 盐亭县| 射阳县| 隆回县| 阿巴嘎旗| 剑阁县| 鹤峰县| 马边| 额济纳旗| 三都| 浮梁县| 延安市| 乡宁县| 吴桥县| 贵溪市| 宜宾市| 中超|