Question: Password Validator Task: Write a function validate _ password ( password ) that checks if the given password is strong. A strong password has at
Password Validator
Task: Write a function validatepasswordpassword that checks if the given password is strong. A strong password has at least characters,
contains both uppercase and lowercase letters, and has at least one digit.
def validatepasswordpassword:
# your implementation here
pass
# # Student Test Cases
# assert validatepasswordPassword True
# assert validatepasswordpass False
# assert validatepassword False
For each of the functions below, at least two examples are provided to test your functions.
functions will be tested both with examples provided in each question and with extra examples.
Each function has to be documented with docstrings In particular, each function has to have docstrings that specify: a description about what the function does while mentioning parameter names b preconditions, if any
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
