So i am using glob.glob to group together 8 different files, each file represents a galaxy. If i print out that information, i am given 8 different arrays of 20+ numbers all separated by . if i print out a specific index i am given that index back for all 8 files as a list. what i am trying to do is add specific numbers (found in a completely separate file) to all elements in each file, so say for the first galaxy im adding 0.9 to each number and for the second im adding 1.5. can someone help me do this please?
So… a loop?