subtract all array elements with its index in python code example Example: python subtract every element in list a = [x - 13 for x in a]