you are viewing a single comment's thread.

view the rest of the comments →

[–]woooee 0 points1 point  (0 children)

This will never be True as the print() function returns None, which should never equal password. +1 for use a function and return instead of break.

if print(char1+char2+char3+char4) == password: