archetypal.utils.rotate

archetypal.utils.rotate(l, n)[source]

Shift list elements to the left

Parameters
  • l (list) – list to rotate

  • n (int) – number to shift list to the left

Returns

shifted list.

Return type

list