Code Lab BetaBUILD. RUN. DISCOVER.

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

PYTHON / CHAPTER 03

Python
Text.

Text in Python: indexes, methods, f-strings, range/while, and a small analyzer. Lessons with Learn and Practice; challenges are separate.

Choose a section

Lesson with explanation and a guided task. Theory stays readable; completion requires a passing solution.

Challenges are optional and do not block the next chapter.

Start lesson
Python

9 lessons available

The foundations behind your ideas.

  1. 01

    String Index · Locked

    Index and slice

    Open lesson
  2. 02

    String Tools · Locked

    len, in, upper/lower/find/replace

    Open lesson
  3. 03

    Strip Split Join · Locked

    strip, split, join

    Open lesson
  4. 04

    F-Strings · Locked

    f-string formatting

    Open lesson
  5. 05

    Range Enumerate · Locked

    range and enumerate

    Open lesson
  6. 06

    While Loop · Locked

    while and stop condition

    Open lesson
  7. 07

    Break Continue · Locked

    break and continue

    Open lesson
  8. 08

    Counters Search · Locked

    Counters and search in loops

    Open lesson
  9. 09

    Text Diary · Locked

    Capstone: strings + loops

    Open lesson
Python Text — strings, loops, and a diary | Code Lab