Hello enthusiast programmers, It seems I am very bad at manipulating lists in Python (I come from the IDL world, and I really struggle with Python). I have a list of string, say:
mylist =['boring', 'enjoyable', 'great']
and a string, say:
s = 'Python is '
and I want to build the list: ['Python is boring', 'Python is enjoyable', 'Python is great']
mynewlist = s + l
as I would have simply done in IDL, doesn't work of course ... I am not able to do it simply! (i.e. without a loop and intermediate variables)
Thanks for the help!
s.