Unable to transform the following nested for loop to a list comprehension:
for row in rows:
elements = row.strip().split('\t')
for element in elements:
print(element)
Input Data is tab delimited:
ola olb olc old
ole olf olg olh
oli olj olk olk
oll olm oln ooo
Desired Output:
ola
olb
olc
old
ole
olf
olg
olh
oli
olj
olk
olk
oll
olm
oln
ooo