Can someone help me write a python code that does this:
A = (1, 3, 5, 5, 2, 4, 6)
Basically, I want to create a variable that will take the first value in the array (in this case, 1), and spit out the difference of each element from that value:
eg. 1 = 1 = 0, 3-1 = 2, 5-1 = 0, etc 
to finally spit out a variable that has:
A = (0, 2, 4, 4, 1, 3, 5) 
 
     
     
     
     
    