I'm trying to add a number of variables, each a numpy array:
x = sum(d1 + d2 + d3 + d4... etc...)
Is there a way to just specify any variables with that string - d plus whatever number - should be included? Maybe there's a simple, slicing-style option? something like:
x = sum(d[1:])
In terms of creating a list, I would still have to compile all the arrays into a list, so my initial question - how to combine them based on name - still stands.