Commit fc377d97 by BellCodeEditor

save project

parent c373d1d2
Showing with 7 additions and 4 deletions
username="python" username="python"
userpassword="666666" userpassword="666666"
while True: while True:
War=input("请输入账号") War=input("请输入账号")
Wer=input("请输入密码") Wer=input("请输入密码")
if username==War and userpassword==Wer: if username==War and userpassword==Wer:
print("登陆成功!") print("登陆成功!")
break break
print("用户名和密码输入错误!请重新输入") if username=War
print("用户名输入错误!请重新输入")
if userpassword=Wer
print("用户密码输入错误!请重新输入")
print("欢迎来到贝尔编程!") print("欢迎来到贝尔编程!")
\ 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