#!/usr/bin/env python#_*_ coding:utf-8 _*_dic={ 'yts':{'password':'123','count':0}, 'nick':{'password':'123','count':0}, 'test':{'password':'123','count':0},}while True: name=input('请输入用户名: ') if not name in dic: print('用户不存在') continue if dic[name][…