This language bar is your friend. Select your favorite languages!

Idiom #163 Print list elements by group of 2

Print all the list elements, two by two, assuming list length is even.

#Edit dateEdit SummaryEditor
👁 Δ 14 2019-06-07, 10:31 New Haskell implementation by user [schuelermine] schuelermine
👁 Δ 13 2019-02-02, 04:53 [Scala] Make it a little cleaner, like the Rust one Debaran
👁 Δ 12 2019-02-02, 04:51 New Scala implementation by user [Debaran] Debaran
👁 Δ 11 2019-01-02, 10:57 New Pascal implementation by user [Bart] Bart
👁 Δ 10 2018-09-06, 19:55 [PHP] Variable name list programming-idioms.org
👁 Δ 9 2018-08-23, 19:26 New PHP implementation by user [ricardo_sdl] ricardo_sdl
👁 Δ 8 2018-08-03, 20:40 New Go implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 7 2018-06-12, 09:39 New Rust implementation by user [GobbleCock] GobbleCock
👁 Δ 6 2017-11-18, 23:17 [Python] list Works fine without trailing underscore programming-idioms.org
👁 Δ 5 2017-10-28, 14:00 New Python implementation by user [Oldboy] Oldboy
👁 Δ 4 2017-08-21, 19:30 Linked to idiom #143 [Iterate alternatively over two lists] Bzzzzzzzzzz
👁 Δ 3 2017-08-21, 19:29 Linked to idiom #6 [Iterate over list values] Bzzzzzzzzzz
👁 Δ 2 2017-08-16, 15:57 New Ruby implementation by user [steenslag] steenslag
1 2017-07-31, 16:33 Idiom creation by user [Bzzzzzzzzzz] Bzzzzzzzzzz