Tell us what’s happening:
i am iterating using lines and the pop up is asking me to use lines but I’m not sure where I’m supposed to use it. I’m getting the right output on the console.
Your code so far
def pin_extractor(poem):
secret_code = ''
# User Editable Region
lines = poem.split('\n')
for line_index, line in enumerate (lines):
print(line)
# User Editable Region
poem = """Stars and the moon
shine in the sky
white and bright
until the end of the night"""
pin_extractor(poem)
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
Challenge Information:
Build a Pin Extractor - Step 5