I am trying to concatenate items in a list onto a string.
list = ['a', 'b', 'c', 'd']
string = ''
for i in list:
string.join(str(i))
Is this what you are looking for?
>>> my_list = ['a', 'b', 'c', 'd']
>>> "".join(my_list)
'abcd'
You shouldn't use list as a variable name, since this will shadow the built-in class list.