Commit 6b73ae31 by BellCodeEditor

save project

parent 95823caf
Showing with 11 additions and 12 deletions
GDSFDSFSFDusername = "python" GDSFDSFSFDusername = "python"
userpassword = "123456" userpassword = "123456"
while True: while True:
if i = 0: if i > 0:
name = input("请输入用户名:") name = input("请输入用户名:")
password = input("请输入密码:") password = input("请输入密码:")
if name == username and password == userpassword: i-=1
print("登录成功!") if name == username and password == userpassword:
print("欢迎来到贝尔编程!") print("登录成功!")
break print("欢迎来到贝尔编程!")
elif name != username break
print("fdgfds") elif name != username
continue print("fdgfds")
else: else:
print("jhfjdwkfhfiq") print("jhfjdwkfhfiq")
continue exit()
\ 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