O'Reilly logo
  • Philippe Derome thinks this is interesting:

This function picks two adjacent columns based on a number between 0 and 3. 


Cover of Functional Python Programming - Second Edition


actually n is assumed to be used with values varying from 0 to 3 in the particular example that follows.