How to add a character to the end of every string in a list?
List comprehensions to the rescue!
list = [item + ':' for item in list]
In a list of
['word1', 'word2', 'word3']
This will result in
['word1:', 'word2:', 'word3:']
You can read more about them here.
https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions
You can use a list comprehension as others have suggesed. You can also use this code:
newlist = map(lambda x: x+':', list)