字典 增 、删、改、查,遍历value key 判断key是否存在 l = ['xiaohei','hahe','112342','北京','29'] d = { 'username':'xiaohei', 'id':1, 'grade':'hahe', 'addr':'北京', 'age':18 Read More
posted @ 2021-03-25 16:00 捞铁 Views(24) Comments(0) Diggs(0) Edit
需求1:users = [ ['fd','123456'], ['xzh','45678']]登陆,输入账号/密码,最多输入3次,3次还没有登陆成功,提示次数超限登陆成功,提示 欢迎xx登陆,今天的日期是xxx,程序结束账号/密码都不能为空,要提示不能为空 --字符串的方法账号/密码错误,提示错误, Read More
posted @ 2021-03-25 11:40 捞铁 Views(44) Comments(0) Diggs(0) Edit