Python Forum
An easy task. Not for me though. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: An easy task. Not for me though. (/thread-41880.html)



An easy task. Not for me though. - The_One_Reborn - Apr-01-2024

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]


RE: An easy task. Not for me though. - deanhystad - Apr-01-2024

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.