Commit 351187b6 by BellCodeEditor

save project

parent 652358e1
Showing with 8 additions and 5 deletions
username = 'python'
userpassword = '123456'
name=input("主公请输入用户名:")
password=input("主公请输入密码:")
if name == username and password == userpassword:
print("主公登陆成功!")
while Ture:
name=input("主公请输入用户名:")
password=input("主公请输入密码:")
if name == username and password == userpassword:
print("主公登陆成功!")
break
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