Commit 9285c69f by BellCodeEditor

save project

parent 1009bd8b
Showing with 8 additions and 4 deletions
......@@ -5,8 +5,12 @@ while True:
# 请用input()实现用户输入账号、密码的功能
password=input("Q输入密码")
if name==username and password==userpassword :
print("you lose!you must die!")
print("you lose!you must die!FBL!")
# 如果用户输入的账号、密码正确,提示登陆成功
break
print("M and Q was wron! please write again!")
print("wellcome to 极乐世界")
\ No newline at end of file
if name != username :
print("the name was not here! please write again!FBL!")
continue
if password != userpassword:
print("the Q was wron! please write again!FBL!")
print("&,& wellcome to 极乐世界 $,$")
\ 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