Commit f4b63a22 by BellCodeEditor

save project

parent f26019b3
Showing with 14 additions and 10 deletions
username = "111" while True
userpassword = "123456" username = "111"
while True: userpassword = "123456"
name = input("请输入用户名:") user = input("请输入帐号:")
i=i-1
if i>0:
password = input("请输入密码:") password = input("请输入密码:")
if name == username and password == userpassword: if username == user and password == userpassword
print("登录成功!") print("登录成功!欢迎来到贝尔编程")
if user!=username: if username!=user:
print("用户名或密码错误!请重新输入") print("用户名或密码错误!请重新输入")
print("欢迎来到贝尔编程!") continue
\ No newline at end of file if username!=password:
\ 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