I'm new to coding and I'm trying to make a program that will take 2 vegetables from a list and print them one after another, then go to the next one and print it again. So if I have something like this:
vegetables = { "tomato": "red", "cucumber": "green", "orange":"orange", "lemon": "yellow" }
How do I make it say in console:
"tomato": "red", "cucumber": "green"
and after that
"orange":"orange", "lemon": "yellow"
And if it's possible can it say "tomato": "red", "cucumber": "green"
twice and after that "orange":"orange", "lemon": "yellow"
twice again. And I would love if it worked for many elements because I will have bigger list.