Strong Password Generator to create secure passwords that are impossible to crack on your device without sending them across the Internet.

import string
import random
#password generator function
def generate_pass(passwrd_len):
characters = string.ascii_letters + string.digits +string.punctuation
character = list(characters)
random.shuffle(character)
strong_pass = character[ : passwrd_len]
return strong_pass
print(“\n\n\n PASSWORD GENERATOR \n\n\n”)
print(“How many characters do you want in your password?”)
pass_len = int(input(“password length:”))
passwrd = generate_pass(pass_len)
print(“\n\n Your Strong password : ” + “”.join(passwrd))
