WrightTools.kit.intersperse

WrightTools.kit.intersperse(lis, value)[source]

Put value between each existing item in list.

Parameters
  • lis (list) – List to intersperse.

  • value (object) – Value to insert.

Returns

interspersed list

Return type

list