don't understand this python for loop,"[('pos1', 'target1'), ('pos2', 'target2')]"