Task 6 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

8.4 Choosing — label everything printable

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in labelAll so that it returns every item's label(), joined by single spaces.

The array holds a Rect (a Shape) and a Tag (not a Shape at all) — they share only the Printable contract, yet one loop handles both. The program prints [Rect] <hi>.

Your solution