So I got stuck on this, everytime i ran my code using 2 different methods, both of which appear above as working solutions, but both gave me errors.
Couldn’t figure it out so I looked at the codecademy solution which is this:
authors = "Audre Lorde,Gabriela Mistral,Jean Toomer,An Qi,Walt Whitman,Shel Silverstein,Carmen Boullosa,Kamala Suraiyya,Langston Hughes,Adrienne Rich,Nikki Giovanni" author_names = authors.split(',') print(author_names) author_last_names =  for name in author_names: author_last_names.append(name.split()[-1]) print(author_last_names)
You will notice that Codecademy have removed the name William Carlos Williams from the original list entirely, I don’t know why because if you add it back in the code still works.
Any thoughts on this?