0
I wrote this code for the solution of password validation problem but it ain't no working properly.(python) edit : for some case
pas = str(input()) a=0 b=0 c=0 lis = ['!', '@', '#', '
#x27;, '%', '&', '*'] for i in pas : try: if int(i) == int : a+=1 except: None if i in lis: b=b+1 c=c+1 if a>1 and b>1 and c>6 : print("Strong") else: print("Weak")1 Answer
+ 2
int(i) == int is always false.
try:
int (i)
a+=1
except:
None