Commit 51cec805 by BellCodeEditor

save project

parent 4c7a46e6
Showing with 17 additions and 8 deletions
username = "python" username = "123456"
userpassword = "123456" userpassword = "123456"
while Ture i=5
while True:
if i=0
name=input("请输入用户名") name=input("请输入用户名")
password=input("请输入密码") password=input("请输入密码")
if name==username and passwod==userpassword if name==username and password==userpassword:
print("成功")
break
if name!=username:
print("TM输错yonghu了SB")
i-=1
continue
if name==username:
if password!=userpassword:
print("TM输错mima了SB")
password=input("请输入密码")
i-=1
if name==username and password==userpassword:
print("成功") print("成功")
break break
if name!=username
print("TM输错了SB")
if passwod!=userpassword:
print("TM输错了SB")
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