Question: If i executed is_strong_password('Hellothere!'), I keep getting True instead of False. What did I do wrong here? lef is_strong_password(passwd: str) bool: Return True if

If i executed is_strong_password('Hellothere!'), I keep getting True instead of False. What did I do wrong here?
lef is_strong_password(passwd: str) bool: "" "Return True if and only if passwd is considered to be a strong password. A string is considered to be a strong password when it satisfies each of the following conditions: - it has a length greater than or equal to 6, - it contains at least one lowercase letter, - it contains at least one uppercase letter, and - it contains at least one digit. Hint: Try using boolean variables or counting variables in your solution. They can be used when determining whether or not each condition has been met. >>> is_strong_password(' I> is_strong_password('compsci!!') False >>> is_strong_password('Csc108') True """ count_upper =0 count_lower =0 if len(passwd) 0 and count_lower >0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
