Build a Pin Extractor - Step 2

Tell us what’s happening:

Step 2 doesn’t allow me to finish eventhough it is correct, The hint says that I need to declare the variable using “Let” or “const” which are not actually python… so I guess the tester is This is the message I get: Your code does not declare a variable named secret_code with an empty string value. Add a proper variable declaration (e.g., using let or const) inside the function and assign ‘’ to it, and try again.

Your code so far

def pin_extractor(poem):
# User Editable Region
    secret_code:''
# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (iPad; CPU OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6.2 Mobile/15E148 Safari/604.1 Brave

Challenge Information:

Build a Pin Extractor - Step 2

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-pin-extractor/6852dd8486c7ee0171322950.md at main · freeCodeCamp/freeCodeCamp · GitHub

Welcome back @lenhakas,

Please review this theory lecture on how to declare a variable assignment: Understanding Variables and Data Types - How Do You Declare Variables and What Are Naming Conventions to Name Variables? | Learn | freeCodeCamp.org

Thank you for reporting the Socrates feedback issue. I’ve created a GitHub issue for that.

Happy coding