Hi, after practicing this review, I wanna print out the last thing which is “The poem TITLE was published by POET in DATE”
However, when I tried to print out the output, it showed nothing.
Here is my code:
titles =
poets =
dates =
for j in highlighted_poems_details:
titles.append(j[0])
poets.append(j[1])
dates.append(j[2])
def everthing_combine(titles, poets, dates):
for title in titles:
for poet in poets:
for date in dates:
return “The poem {} was published by {} in {}.”.format(title, poet, date)
Thank you very much