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