I am unable to print the desired 1 and 2 value of the variables in the foreach loop below. I am getting the name of the variable instead.
#A_voltages has 1 #B