for loop index and value python