You are viewing a single comment's thread. Return to all comments →
Python 3
def minimumNumber(n, password): count = 0 if not any(i.isdigit() for i in password): count += 1 if not any(i.islower() for i in password): count += 1 if not any(i.isupper() for i in password): count += 1 if not any(i in "!@#$%^&*()-+" for i in password): count += 1 return max(6 - n, count)
Seems like cookies are disabled on this browser, please enable them to open this website
Strong Password
You are viewing a single comment's thread. Return to all comments →
Python 3