def generate_passwords(self): ''' method to generate passwords ''' password_gen = Password.generate_password(self) return password_gen
def generate_password(): password = Password.generate_password() return password