Vyxapedia

Element - Þr - Remove Last Item and Prepend 0

Characters: Þ, r


Description

Remove the last item of a list and prepend 0. A shortcut for Ṫ0p


Overloads

  • lst - [0] + a[:-1]

Examples

  • ⟨1|2|3|4|5|6|7|8|9⟩ Þr = ⟨0|1|2|3|4|5|6|7|8⟩
  • ⟨⟩ Þr = ⟨0⟩
  • `` Þr = `0`