Commit cf332f5d by BellCodeEditor

save project

parent 9a248f9b
Showing with 11 additions and 7 deletions
username='?'
userpassword='12345'
name=input("用户名")
password=input("密码")
if username==name and userpassword==password:
print("密码正确")
else:
print("密码错误")
\ No newline at end of file
while True:
name=input("用户名")
password=input("密码")
if username==name and userpassword==password:
print("密码正确")
break
else:
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