I am trying to take one string, and append it to every string contained in a list, and then have a new list with the completed strings. Example:
list = ['foo', 'fob', 'faz', 'funk']
string = 'bar'
*magic*
list2 = ['foobar', 'fobbar', 'fazbar', 'funkbar']
I tried for loops, and an attempt at list comprehension, but it was garbage. As always, any help, much appreciated.