Python · Topic 11 of 20

Sets

  • 2 lessons
  • 10 exercises
  • ~90 min
  • Mastery test

You should know first

This topic builds on:

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

Lessons

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

  1. 1

    Lesson 1~42 min6 exercisesContinue here

    Theory and practice

    Sets without repeats, set operations and membership.

    0/6 exercises
  2. 2

    Lesson 2~48 min4 exercises

    Programming challenges

    Unique items and set operations: distinctness, common letters, pangrams and missing numbers.

    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

    Sets

    Questions about programs from the topic Sets: 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.

Sets · Python | Mente