I have two lists in a list:
t = [['this','is','a','sentence'],['Hello','I','am','Daniel']]
I want to combine them in order to get two sentences:
'this is a sentence. Hello I am Daniel.'
I quickly came up with the following solution:
text = ''
for sent in t:
text = text + ' '.join(sent) + '. '
But maybe there is more readable(better styled) solution for this task?