On 11/23/2016 12:40 PM, Daiyue Weng wrote:
Hi, I am wondering how to concatenate corresponding strings in two lists,
assuming that the lists are of same length, e.g.
val_1 = ['a', 'b', 'c']
val_2 = ['A', 'B', 'C']
# concatenate corresponding strings in 'val_1' and 'val_2'
# and put results in a
On 23 November 2016 at 19:40, Daiyue Weng wrote:
> Hi, I am wondering how to concatenate corresponding strings in two lists,
> assuming that the lists are of same length, e.g.
>
> val_1 = ['a', 'b', 'c']
> val_2 = ['A', 'B', 'C']
>
> # concatenate corresponding strings in 'val_1' and 'val_2'
> # a
Hi, I am wondering how to concatenate corresponding strings in two lists,
assuming that the lists are of same length, e.g.
val_1 = ['a', 'b', 'c']
val_2 = ['A', 'B', 'C']
# concatenate corresponding strings in 'val_1' and 'val_2'
# and put results in another list 'val' so that
# val = ['aA', 'bB'