Learn python
Short lessons written around the screening tests employers use. Read one, then take the test.
Lists, dicts and loops: the Python you use every dayThe three structures that appear in almost every script and screening question.Lesson 1
Functions, exceptions and filesWriting a function you can reuse, handling errors without hiding them, and reading a file safely.Lesson 2
Slicing and string methods: reading the index rulesHow start, stop and step work on lists and strings, plus the string methods that clean and format text in scripts.Lesson 3
Mutability, copies and comprehensionsWhy two names can point at one list, the mutable default argument trap, and how to write comprehensions that stay readable.Lesson 4
Advertisement