#P0013. 登录验证
登录验证
1. Description
Write code to simulation user login on website. The username is "admin", and the password is "123456"
- If the user input correct username + password combination, print "Login Success"
- If one of username & password doesn't match, print "Login Fail"
2. Input & Output
Input:
- Two strings representing username and password, separated by space
- Use
input()as input. Notice that the value you get frominput()is a string
Output:
- A string representing login success / fail
- Use
print()for your output
Example
# Input:
member 12345
# Output:
用户名或密码错误
# Input:
admin 123456
# Output:
登录成功