echo $line | tr " " "\n"
gives the output similar to those of most of the answers above; without using loops.
In your case, you also mention ll=<...output...>
,
so, (given that I don't know much python and assuming you need to assign output to a variable),
ll=`echo $line | tr " " "\n"`
should suffice (remember to echo "$ll"
instead of echo $ll
)