Code Lab BetaBUILD. RUN. DISCOVER.

Code Lab is in development. New lessons and improvements are on the way. Progress can be deleted.

Challenges / 01

Unique Tags.

About 5–10 minutes
Your lesson
tags = ["py", "lab", "py", "code"]. unique = set(tags). Print len(unique) and sorted(unique). Expected: 3 and ['code', 'lab', 'py'].

Dedupe with set.

challenge_01.pyPYTHON
Loading the runtime… The first launch may take a little longer.
… 0/20000
CHECKSSTANDBY
01set
02len 3
03sorted three items
…0/10000
ConsoleWrite the code. Bring it online.
›
Calculators BG — 50+ free online calculators | Калкулатори БГ