Commit 5b83a252 by BellCodeEditor

save project

parent 7153742c
Showing with 7 additions and 2 deletions
...@@ -2,7 +2,11 @@ username="wx712514" ...@@ -2,7 +2,11 @@ username="wx712514"
userpassword="712514" userpassword="712514"
name=input("请输入用户名") name=input("请输入用户名")
word=input("请输入密码") word=input("请输入密码")
if username==name and userpassword==word: while True:
if username==name and userpassword==word:
print("登陆成功!") print("登陆成功!")
else: break
else:
print("失败") print("失败")
name=input("请输入用户名")
word=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