Subtract a value from every number in a list in Python?

With a list comprehension:

a = [x - 13 for x in a]

Leave a Comment