题解 | #验证登录名与密码#

验证登录名与密码

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!")

全部评论

相关推荐

点赞 评论 收藏
分享
每晚夜里独自颤抖:这个在牛客不是老熟人了吗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务