Itertools Python 3 Flatten