I have to perform the following action without using list comprehensions. I have a list that looks like the following one:
["Mi Fa Sol", 'Mi', "Mi Fa Sol La Si", "Do Si", " Mi Si Fa", "Fa"]
What I want to obtain is a list like the following one:
["Mi", "Fa", "Sol", "Mi", "Mi", "Fa", "Sol", "La", "Si", "Do", "Si", "Mi", "Si", "Fa", "Fa"]
I can do that in the following way, I think:
lst = [elem.strip().split() for elem in lst]
lst = [elem for sub_lst in lst for elem in sub_lst]
But I have no idea how to accomplish the same result without list comprehensions.