Preview:
# Main Program Starts Here
# ===================================

if __name__ == '__main__':

    passTests = ["Short7!",
                 "nouppercase7!",
                 "NOLOWERCASE7!",
                 "NoNumber!",
                 "NoSpecial7",
                 "GoodPass7!"]

    for eachTest in passTests:
        if validate_strong_password(eachTest):
            print(eachTest, "PASS")
        else:
            print(eachTest, "FAIL")
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter