2ef5c047b4296a807eea8366f67d7f271f0d47de,bin/password-strength-checker.py,,pass1,#,10

Before Change


def pass1():
    password = raw_input("Enter the password ")
    special = "!@//$%^&*()?"
    if len(password) >= 8 and not password.islower() and not password.isupper() and not password.isalpha() and not password.isdigit() and any((c in special) for c in password):
        print("Strong Password")
        return 1
    else:

After Change


            print(" your password is less than 10 characters")
        
        if len(password)>= 10 :
            if (any(x.isdigit() for x in password)) and (any(x.islower() for x in password)) and any(char in invalidcharacters for char in password) and (any(x.isupper() for x in password)) :
                print("Good! You have created a strong password ")
                break
            else:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: Logan1x/Python-Scripts
Commit Name: 2ef5c047b4296a807eea8366f67d7f271f0d47de
Time: 2020-06-28
Author: 59202862+Monsieurvishal@users.noreply.github.com
File Name: bin/password-strength-checker.py
Class Name:
Method Name: pass1


Project Name: nicodv/kmodes
Commit Name: 02566e8d7f883f06221b60df9b87f971db6d9ca7
Time: 2018-03-03
Author: njdevos@gmail.com
File Name: kmodes/kmodes.py
Class Name:
Method Name: init_huang


Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: eea525b1a76f1166e87582a5312c952c1a093766
Time: 2020-03-08
Author: p.gijsbers@tue.nl
File Name: category_encoders/ordinal.py
Class Name: OrdinalEncoder
Method Name: ordinal_encoding


Project Name: biotite-dev/biotite
Commit Name: 655073219ced6ed450ee20c6bfdeb42bea11b1bf
Time: 2020-12-22
Author: anter.jacob@gmail.com
File Name: src/biotite/structure/charges.py
Class Name:
Method Name: _get_parameters