first time poster here. I've got this problem on Python that's been doing my head in.
Lets say I have this list:
items = ['6', 'Dogs', '5', 'Cats', '2', 'Birds']
Every element is a string.
What would an easy way to print:
6 Dogs
5 Cats
2 Birds
And so on? I know about dictionaries and tuples and whatnot, but to implement these I would have to change the rest of my code a lot, which I would preferably like to avoid. So how could I print the list like shown above?
Best I've gotten so far is
6 Dogs 5 Cats 2 Birds