Question: Python method Write a static method named password with the following specification: Input parameters: -variable named password , type str Return Value: -type bool :
Python method
Write a static method named password with the following specification:
Input parameters:
-variable named password , type str
Return Value:
-type bool : True if password is valid, False otherwise
The password will be valid if it follows the following criteria:
-Minimum length is 10 characters
-At least 2 letter between a - z and 1 letter between A - Z
-At least one special character . , # (
-At least 1 number 0 - 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
