Build a Pin Extractor - Step 3

Tell us what’s happening:

i tried everything i possibly could but still getting error

Your code so far

def pin_extractor(poem):
    secret_code = ''

# User Editable Region
poem='Stars and the moon\nshine in the sky\nwhite and bright\nuntil the end of the night'
result=pin_extractor(poem)
# 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/147.0.0.0 Safari/537.36 OPR/131.0.0.0 (Edition ms_store)

Challenge Information:

Build a Pin Extractor - Step 3

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

Hi @fatimaplayyz,

Please review this theory lecture about how to create a multi-line string:
Introduction to Strings - What Are Strings and What Is String Immutability? | Learn | freeCodeCamp.org

Did the instructions ask you to create a result variable?

Happy coding