So I have to create code that validate whether a password:
Or you can use this to check if it got at least one digit:
min(passwd).isdigit()