Commit 1a0c9920 by BellCodeEditor

save project

parent ccb9bfe4
Showing with 12 additions and 5 deletions
username="python"
userpassword="123456"
if name !=username:
print("名字错了,重写")
if password !=userpassword:
print("密码错了,重写")
\ No newline at end of file
while True:
name=input("账户名")
password=input("账户密码")
if name=username and password=userpassword:
print("输入正确")
break
if name !=username:
print("名字错了,重写")
if password !=userpassword:
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