startyear = [["a", "b", "z"], ["c", "d"], ["e", "f"], ["g", "h", "i", "j"]] flattened = startyear.flatten //# flattened is now ["a", "b", "z", "c", "d", "e", "f", "g", "h", "i", "j"]
startyear = [["a", "b", "z"], ["c", "d"], ["e", "f"], ["g", "h", "i", "j"]] flattened = startyear.flatten //# flattened is now ["a", "b", "z", "c", "d", "e", "f", "g", "h", "i", "j"]