I am using python 3.
for i in range(len(basic_elements)):
value_list = [basic_elements[i], x_count[i]]
basic_element
is a list of words, and x_count
is a list of number.
I want value_list
to give me all the 50 elements in both lists together in value_list
.
But i kept on getting only the last element.
I don't understand?!