+ 1
Any one can help what is wrong with this code
6 Réponses
+ 1
Updated code
https://code.sololearn.com/cw6uoyW4uC5B/?ref=app
+ 2
Mondash
In which line I have put this 👇🏻
if len(list(re.search("[a-z]", password))) > 0:
flag -= 1
break
please help
+ 2
Modash
Please correct my solution and post it here
Ok
+ 1
Please Help me
+ 1
re.search("[a-z]", password)
search() don't return bool variable
Try,
if len(list(re.search("[a-z]", password))) > 0:
flag -= 1
break
+ 1
Thank you so much 👍🏻