Learn Regular Expressions by Building a Password Generator - Step 4

Tell us what’s happening:

the comment symbol (#) used, still the code is said not to be correct, I can’t seem to see the error in my code

Your code so far


# User Editable Region

import string

# Define the possible characters for the passowrd
letters = string.ascii_letters
digits = string.digits

symbols = string.punctuation

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0

Challenge Information:

Learn Regular Expressions by Building a Password Generator - Step 4

Welcome to the forum @ahb4real

You have a typo.

Happy coding

1 Like