Back to Freecodecamp

Step 4

curriculum/challenges/english/blocks/learn-regular-expressions-by-building-a-password-generator/656485a8a3496d4a36b1496a.md

latest596 B
Original Source

--description--

These three variables constitute the possible characters to choose from when generating the password.

Just before them, add a comment saying Define the possible characters for the password.

--hints--

You should add the comment just above the letters variable.

js
({ test: () => assert.match(code, /^#\s*Define the possible characters for the password.*^letters/ms) })

--seed--

--seed-contents--

py
--fcc-editable-region--
import string



letters = string.ascii_letters
digits = string.digits
symbols = string.punctuation
--fcc-editable-region--