Really Unsecure Passwords solution in python https://brilliant.org/mathematics-problem/really-unsecure-passwords/?group=I3OlYiQan3eZ