I made a simple password generator.
It asks for 4 parameters and then uses them to create an easy to remember yet strong password.
Here’s the code:
#Generating function
def generate(a, b, c, d,):
print(f”Password is: {a}{b}{c}{d}”)
pet = input(“Enter the name of your favorite pet: “)
symbol= input(“Enter your favorite symbol: “)
food = input(“Enter your favorite food: “)
number = input(“Enter your favorite number: “)
generate(number, symbol, food, pet,)
Leave a Reply