Commit f845b203 by BellCodeEditor

save project

parent 5f7e1c53
Showing with 9 additions and 6 deletions
username="戴戴上课不迟到"
userpassword="3.1415926"
name=input("请输入用户名")
password=input("请输入密码")
if name==username and password==userpassword:
print("成功登录")
\ No newline at end of file
while True:
name=input("请输入用户名")
password=input("请输入密码")
if name==username and password==userpassword:
print("成功登录")
break
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