Commit 582d230f by BellCodeEditor

save project

parent b250abfe
Showing with 21 additions and 0 deletions
print("hello world!")
\ No newline at end of file
name = "aaa"
i =3
while True:
if i>=0:
username = input("输入用户名:")
userpassword = input("输入密码:")
i=i-1
if username == name and userpassword == password:
print('登录成功')
break
if name!=username:
print("用户名错误")
continue
if name!=userpassword:
print("密码错误")
print("欢迎来到python世界")
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