Commit e1b4abdd by BellCodeEditor

save project

parent 6b2a313d
Showing with 7 additions and 13 deletions
username="python"
def new_input(): userpassword="123456"
total = [] name=input("你的用户名")
while True: password=input("你的密码")
unit=input("请输入: ") if name=username and password=userpassword:
if unit== "q": print("登入成功")
break \ No newline at end of file
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment