+ 1
How to call this function?
def good_length(s): s =input(good_length("password:")) if len(s) < 8: print(good_length("2short")) elif len(s) >= 8: print(good_length("nice password")) elif len(s) < 64: print(good_length("2long")) else: print(good_length("toolong, make it short")) return len(s) > 8 and len(s)<64 print(good_length("2short"))
1 ответ
+ 1
I think this function contain an indentation error.
return statement hath no proper indentation