How to change the grouping of items in a list?

Viewed 62

So if I have a list like this:

x = [0,1,2,3,4,5,6,7,8,9]

How do I convert this list into something like this:

x = [01,23,45,67,89]

How can I do that?

I know about the built in zip function, but I don't want a tuple and I want 2 numbers grouped into 1.

3 Answers
Related