Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
String methods solution in Clear category for Flatten a List by MrPod
flat_list = lambda x: list(map(int, str(x).replace('[', '').replace(']', '').replace(',', '').split()))
March 20, 2018
Comments: