Returning a function with functions. How to define and use higher-order functions that return other functions in Python.
Computer Science learning blog
Returning a function with functions. How to define and use higher-order functions that return other functions in Python.
Verifying that a password contains certain characters using regular expressions with look-ahead assertions. The opposite, absence of certain characters, can be verified with negative look-ahead assertions.
Functions in Python can be defined with other functions as parameters. These are known as higher-order functions. See an explanation of how to define them with examples here.
Using functions in Python. An example to motivate its utilization and an analysis of their advantages to produce modular, maintainable and reusable code.
Solving Sudoku puzzles using Python. A recursive solution that filters options to fill empty cells recursively and backtracks when necessary.