标签:pass 输入 int password 用户名 print abc name 密码
输入设置
输入用户名和密码
代码:
_user = "alex"
_password = "abc123"
username = input("Username:")
password = input("Password:")
if username == _user and password == _password:
print("Welcome %s login ... " % _user)
else:
print("Invalid username or password!")
标签:pass 输入 int password 用户名 print abc name 密码
原文地址:https://www.cnblogs.com/pl-2018/p/9418980.html