想问问小甲鱼的零基础学习的作业14的动动手!!
password = input('PLease input ur password: ')password = str(password)
if password.isalpha() != True and password.isdigit() != True and len(password) >= 16:
print("Ur password is perfect and high security level")
elif password.isalpha() != True and password.isdigit() != True and 16 > len(password) >= 8:
print("Ur password is good and Middle security level")
else:
print("ur password sucks")
请问可以这样写吗?谢谢!!!因为小甲鱼的答案有点太复杂了哈哈哈哈哈哈哈 你这不符合他的题目要求啊。
页:
[1]