Strong Password Detection Using Regex (Python)

preview_player
Показать описание

How to access the book:
Do a google pdf search by typing “automate the boring stuff with python filetype:pdf” into Google. Several sources should come up.

A single regex to check everything:

Background music:

Congratulations! You made it to the bottom of the description box. Have a byte 0001 0010 !
Рекомендации по теме
Комментарии
Автор

Thank you. I didnt know of returning a bool value and that solved my problem ive brain stormed for 3 days

rufodeer
Автор

Hi i have a question I am trying to put regex in this way why its not working
import re
print ('please enter your Password' )
Password = input('')
t = re.compile(r'^[\w]{8, 20}[0-9]{1, 3}$')
m = t.findall(Password)
print (m)

akhilthakur
Автор

i am getting syntax error at function def how to solve this plz help

miteshkhedekar