Final answer:
To generate the desired list of tuples, use the zip function and a list comprehension in Python. The zip function merges the three original lists, and the list comprehension formats each item accordingly, capitalizing the fruit names and pairing them with their respective quantities and prices.
Step-by-step explanation:
To create a new list that combines the items from the three given lists into the desired format, you can use Python's zip function along with a list comprehension. Here's how you can achieve the desired output:
fruits = ['apples', 'oranges', 'bananas']
quantities = [5, 3, 4]
prices = [1.50, 2.25, 0.89]
combined_list = [(fruit.title(), quantity, price) for fruit, quantity, price in zip(fruits, quantities, prices)]
print(combined_list)
This code snippet uses zip to iterate over the three lists simultaneously. It then creates a tuple for each group of items from the lists, applying the .title() method to capitalize the first letter of each fruit name. The resulting list of tuples matches the desired output mentioned in the question.