Commit 9154ce70 by BellCodeEditor

save project

parent 960dbfb2
Showing with 17 additions and 10 deletions
username="xxx"
userdassword="123456"
while True:
name=input("xxxx")
dassword=input("1111")
if username==name and userdassword==dassword:
print("c ")
break
elif username!=name:
print("用户名错了")
else:
print("账号错误")
\ No newline at end of file
name=input("xxxx")
i=0
dassword=input("1111")
if i<=3:
if username==name and userdassword==dassword:
print("c ")
break
i=i+1
elif username!=name:
print("用户名错了")
i=i+1
else:
print("账号错误")
i=i+1
else:
print("bb ")
exit()
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