Let's say I have the following lists of objects:
lol = [['When was America discovered by Christopher Colombus?', ['1492', '1510', '1776', '1820'], '1492'], ['What is the name of the school that Harry Potter attends?', ['Hogwarts', 'Gryffindor', 'Voldemort', 'Magic School'], 'Hogwarts'], ['How many colors are there in the common depiction of the rainbow?', ['5', '7', '9', '11'], '7']
I'm trying to flatten the inner list (e.g. remove the brackets). The result would look like
['When was America discovered by Christopher Colombus?', '1492', '1510', '1776', '1820', '1492']
I have seen general solutions for flattening entire lists such as here:
Flattening a shallow list in Python
But I cannot figure out how to selectively flatten a single list within a larger list of lists.