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
Try this:
lst = [' ' + x + ' ' for x in ['a', 'bb', 'c']]