def get_passwords():
password = input('请输入一个密码:'.strip())
list_lower = []
list_upper = []
list_digit = []
if len(password) > 0:
if len(password) == 8:
for k in password:
写一个密码校验程序,密码格式为含有大写、小写字母、数字,长度为8位
最新推荐文章于 2023-04-28 11:07:00 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
def get_passwords():
password = input('请输入一个密码:'.strip())
list_lower = []
list_upper = []
list_digit = []
if len(password) > 0:
if len(password) == 8:
for k in password: