I'm still reading the Python 3.1.3 tutorial and encountered the following problem:
How do you remove a value from a group of numbers?
# A list with a group of values a = [49, 51, 53, 56]
How do I subtract 13 from each integer value in the list?
# Attempting to minus 13 from this list - FAIL! (a[:] = a[:] - 13)
With a list comprehension.
a[:] = [x - 13 for x in a]