Commit 16903d64 by BellCodeEditor

save project

parent 79f82b47
Showing with 21 additions and 0 deletions
username="phthon"
userpassword="123456"
name=input("你的用户名")
password=input("你的密码")
a=3
while True:
a=a-1
if name!=username:
print("名字错误")
name=input("你的用户名")
if password!=userpassword:
print("密码错误")
password=input("你的密码")
if name==username and password==userpassword:
print("登入成功")
break
if a<0:
print("n")
exit()
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