Logo

Programming-Idioms

History of Idiom 141 > diff from v10 to v11

Edit summary for version 11 by Oldboy:
New Python implementation by user [Oldboy]

Version 10

2017-09-12, 15:20:22

Version 11

2017-10-28, 12:34:37

Idiom #141 Iterate in sequence over two lists

Iterate in sequence over the elements of the list items1 then items2. For each iteration print the element.

Idiom #141 Iterate in sequence over two lists

Iterate in sequence over the elements of the list items1 then items2. For each iteration print the element.

Code
for x in items1 + items2:
    print(x)