β back to unit
Easy
# power tools easy
The Sticker Album
You dumped every sticker you own on the floor β tons of repeats! The album only needs one of each. π
You get the sticker pile as items. Build a set from it and print how many DIFFERENT stickers you own.
Example:
Input: items = ["star", "moon", "star", "sun", "moon"]
Output: 3
Dropping every item into a set removes the repeats, leaving {"star", "moon", "sun"} β 3 different stickers.
π‘ need a hint?
pt-sticker-album.pyπ given lines are locked β write your code in between
loading...