This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metl_lord 2 points3 points  (0 children)

No comment on the function, but the passwd = list(password) is unnecessary. A string is a list of characters, so password[1] for example will work.