Interactive 3D world for level 5.4. Hold Control or Command and drag to orbit or scroll to zoom. Touch users can drag or pinch.

Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom

LESSON 5.4

Keep Only Unique Values: Set

A Set<T> stores unique elements. Adding an element that is already present does not change the set.

Goal Register badges 3, 5, 3, 7, and 5. Print how many unique badges there are and whether badges 5 and 4 are present.

Write a Zirk program, then run it to see the world react.
Sound unavailable in this browser