You are viewing a single comment's thread. Return to all comments →
def minimumNumber(n, password): a=0 b=0 e=0 c=0 d=0 for i in password: if i.isdigit(): a=1 elif i.islower(): b=1 elif i.isupper(): c=1 elif i in "!@#$%^&*()-+": d=1 a=4-(a+c+d+b) if n<6: e=6-n if a>e: return a else: return e if e==a: return a
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 →