摘要: 1 #!/usr/bin/env python3.5 2 #coding:utf-8 3 import re 4 5 # 7.18.1 6 7 # 强口令检测 8 # 写一个函数,使用正则表达式,确保传入的口令字符串是强口令 9 # 长度不少于8个字符,同时包含大小写,至少有1个数字 10 11 pw = input("请输入口令:") 12 def checkpw(pa... 阅读全文
posted @ 2017-04-09 16:44 mfyang 阅读(2089) 评论(5) 推荐(1) 编辑