I\'m a Python noob and I need some help for a simple problem.
What I need to do is create a list with 3 items and add spaces before and after every item.
For
In [44]: l1 = ['a', 'bb', 'c'] In [45]: [' %s '%x for x in l1] Out[45]: [' a ', ' bb ', ' c ']