Commit ee85cab9 by BellCodeEditor

save project

parent 99dfb3fa
Showing with 11 additions and 13 deletions
i=3
while True: while True:
username="lkjhg" username=""
username = input("请输入用户名:") userpassword=""
userpassword="123456" user=input("")
password = input("请输入密码:") password=input("")
if user==username and password==userpassword: i=i-1
print("登录成功!") if i>
break if username==user and password==userpassd:
if user!=username: print("")
print("用户名和密码错误!请重新输入") break
continue \ No newline at end of file
if password!=userpassword:
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