题解 | #验证登录名与密码#
验证登录名与密码
https://www.nowcoder.com/practice/f3517fb21fd34d3880bd41454ca7209f
import sys a={ 'admis':'Nowcoder666' } b=input() c=input() if b in a.keys(): if c == a.get(b): print("Welcome!") else: print("user id or password is not correct!") else: print("user id or password is not correct!")