add a string in list code example
Example 1: add a string to each element of a list python
my_list = ['foo', 'fob', 'faz', 'funk']
string = 'bar'
list2 = list(map(lambda orig_string: orig_string + string, my_list))
Example 2: python add a string to a list
list = ["other str", 2, 56]
list.append("string")
# list = ["other str", 2, 56, "string"]