Commit 01fd0346 by BellCodeEditor

save project

parent eb8e632a
Showing with 11 additions and 0 deletions
username = "python"
userpassword = "123456"
#请用input()实现用户输入账号、密码的功能
while True:
input_name=input("输入账号:")
input_password=input("输入密码:")
if input_name == username and input_password == userpassword:
print("登录成功")
else:
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