← All skills
Skill · Core language, easy → advancedLive

Python

Ten reps that take you from variables and loops to comprehensions, generators, and decorators — the Python every ML engineer leans on daily.

  1. Task 1Variables & typesEasyStore numbers and text in variables — and meet Python's core types.~10 min · 3 blanks
  2. Task 2ConditionalsEasyChoose a branch with if / elif / else.~10 min · 2 blanks
  3. Task 3LoopsEasyRepeat work with a for-loop over a range.~12 min · 2 blanks
  4. Task 4FunctionsEasyPackage reusable logic behind a name, then call it.~12 min · 2 blanks
  5. Task 5Lists & slicingEasyIndex, slice, and grow a list.~12 min · 3 blanks
  6. Task 6Dicts & setsMediumLook up and add to a dict; dedupe with a set.~12 min · 3 blanks
  7. Task 7ComprehensionsMediumBuild and filter lists in one readable line.~12 min · 2 blanks
  8. Task 8Strings & textMediumClean and reshape text with string methods.~12 min · 3 blanks
  9. Task 9Generators & iteratorsHardProduce values lazily with yield and generator expressions.~14 min · 2 blanks
  10. Task 10DecoratorsHardWrap a function to add behaviour without touching its body.~15 min · 1 blanks