37 字
约 7 秒
5
code7-3-raise
2026-09-26
无标签

try:
pwd = input('请输入你的密码')
if len(pwd)<8:
raise Exception('密码长度不够,请输入一个8位以上的密码')
except Exception as e:
print(e)

code7-3-raise
https://www.clxhxhhr.top/posts/4497/
作者
clxstart
发布于
2026-09-26
许可协议
CC BY-NC-SA 4.0
评论
0 条
还没有评论,先写一条吧。