Commit d180b12a by BellCodeEditor

save project

parent 30a65534
Showing with 14 additions and 5 deletions
username ="yu" username ="yu"
password="123456" password="123456"
username2=input("请输入姓名") while True:
passpord2=input("请输入密码") username2=input("请输入姓名")
if username==username2: password2=input("请输入密码")
print("用户名正确") if username==username2:
\ No newline at end of file print("用户名正确")
if password==password2:
print("密码正确!欢迎!")
break
else:
print("密码错误!请重新输入!")
else:
print("用户不存在!请重新输入!")
print("欢迎"+username2+"登录")
\ 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