Monthly Archive: March 2018

Invert a list / map

Often we use lists to map keywords onto values, for example To invert this list (such that “fark”, “bark” etc. become keywords, and “a”, “b” and “c” the values), do...continue reading.