I have some lists:
list_line[0] = ['my name is A']
list_line[0] = ['my name is B']
list_line[0] = ['my name is C']
list_line[0] = ['my name is D']
And I make this work:
list_words_0 = list_line[0].split()
list_words_1 = list_line[1].split()
list_words_2 = list_line[2].split()
list_words_3 = list_line[3].split()
list_words = list_words_0 + list_words_1 + list_words_2 + list_words_3
print list_words
So with the above steps, i can do it with a for-loop: for i in range(3): do something
but i don't know how to put i in variables: list_words_0, list_words_1, list_words_2 ... Can you help me change the name of that lists with a for loop? thank you so much !