Problem: A pineapple is a fruit that is not a fruit.

We have 6 pieces of pineapple, but we cannot figure out where they are.

Each piece is 1 inch by 1 inch, and they are all different colors.

Can you find the pieces and put them together in the correct order?

Hint: The pieces are not actually pineapples.

Pineapple pieces

Puzzle pieces

pieces = [1, 2, 3, 4, 5, 6]

colors = ["red", "green", "blue", "orange", "yellow", "purple"]

pieces = sorted(pieces)

colors = sorted(colors)

Solve the Puzzle