Python · Topic 8 of 20

Strings

  • 2 lessons
  • 11 exercises
  • ~92 min
  • Mastery test

You should know first

This topic builds on:

In the recommended order, “Functions” comes before this topic. Functions

Lessons

Work through them in order – each builds on the one before.

  1. 1

    Lesson 1~44 min7 exercisesContinue here

    Theory and practice

    Indices, slices, string methods, split and join.

    0/7 exercises
  2. 2

    Lesson 2~48 min4 exercises

    Programming challenges

    Working with text: slices, string methods and building new text character by character.

    0/3 exercises
  3. The goal of this topic

    Once the lessons are behind you, prove you really know the topic. Three levels – easy, hard and expert.

    Mastery test

    Strings

    Questions about programs from the topic Strings: what they print, what they return and why. You type the answer - no options to pick from.

    • 20 questions
    • 100% required
    • Increasing difficulty

    Mastery

    Three levels. Only 100% unlocks each one.

    0 of 3 levels mastered

    • Easy

      Basic understanding

      20 questions · 100% to master

      Best score
      -
      Attempts
      0
    • HardLocked

      Advanced understanding

      20 questions · 100% to master

      Best score
      -
      Attempts
      0

      Score 100% on Easy Mastery to unlock this level.

    • ExpertLocked

      Deep understanding

      20 questions · 100% to master

      Best score
      -
      Attempts
      0

      Score 100% on Hard Mastery to unlock this level.

What you will learn in this topic

The concepts of this topic. Each is practised by the tasks that need it - in other topics and in exam preparation too.

Strings · Python | Mente