Question: Write one static python method named validPassword without importing any libraries and with the following specification: Input parameters: variable named password (type string) Return Value:

Write one static python method named validPassword without importing any libraries and with the following specification:

Input parameters:

variable named password (type string)

Return Value:

type bool: True if password is valid, False otherwise

The password will be valid if it follows following criteria: At least 2 letter between a - z OR 3 letters between A - Z

At least 2 special characters of the 4 following characters . , # ( OR at least 1 number 0-9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!