python unpack list of tuples in for loop