Chapter 8 - Python Quest
Sets
Use uniqueness, membership, overlap, and difference to clean repeated data.
XP
0Level 1Stars
0/15quest starsCombo
0clean runsRank
Seed0/160 Python scoreSets
100 XPSticker Set
The sticker table has a pile with repeats, but the album only cares how many different sticker designs there are.
Write unique_sticker_count(stickers) so it returns how many different sticker names are in stickers.
Sample checks
unique_sticker_count(["star","moon","star"])returns2Explanation: star only counts once
unique_sticker_count(["rocket","rocket","rocket"])returns1Explanation: one design repeated many times
Hint
Hints are ready when you want one.
Lesson reference
Review: One of each value
Your Python
unique_sticker_count
Loading editor
Judge
Ready
Run your code when it feels ready.
