Code Lab BetaBUILD. RUN. DISCOVER.

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

Challenges / 01

Label Clean.

About 5–10 minutes
Your lesson
Given: raw = " CODE,LAB,PATH ". Create clean = raw.strip(). Print clean[0] and len(clean). Create parts = clean.split(",") and joined = "/".join(parts). Print joined.upper(). Expected output: C 13 CODE/LAB/PATH

Combines index, len, strip/split/join, and upper on a real label.

challenge_01.pyPYTHON
Loading the runtime… The first launch may take a little longer.
… 0/20000
CHECKSSTANDBY
01clean is strip of raw; clean[0] and len(clean) are correct
02parts and joined come from split/join
03console is C / 13 / CODE/LAB/PATH
…0/10000
ConsoleWrite the code. Bring it online.
›
Calculators BG — 50+ free online calculators | Калкулатори БГ