if name==username and password==_password:print("welcome the new word {name}".format(name=username))else:print("滚")
if else 用户名密码判断
原文:http://blog.51cto.com/12992048/2172966