You must use the append() method if you are using a list. Then do looping text method
append()
text
Snippet:
text = [] for block in iter_block_items(doc): text.append(block.text) for line in text: print(line)