Python Forum

Full Version: An easy task. Not for me though.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings! I broke my head over this, please help Undecided

#Merge the pairs of elements together: [12, 34, 56]
nlist = [1, 2, 3, 4, 5, 6]
Show what you have tried. Think of it as proof that you aren't lazy.

I solve problems line this using pencil and paper first, then I write down the logic I used to perform the task. Once I have that written down, converting to computer code is usually easy.