You are viewing a single comment's thread. Return to all comments →
# Strong Password 🔑 def minimum_number(n, password): res, p = 0, set(password) types = [ set("0123456789"), set("abcdefghijklmnopqrstuvwxyz"), set("ABCDEFGHIJKLMNOPQRSTUVWXYZ"), set("!@#$%^&*()-+")] res = sum([ 1 for t in types if p - t == p ]) return max(res, 6 - n)
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 →