Ṗ - Pop
This atom is monadic, which means it takes one argument.
Return all but the last element of a list (does not modify the list).
This will not error on empty lists because Python allows list slices to go out of range and just ignores the part that is out of bounds. For integers, auto-cast to range, so it returns
[1, 3, ..., z - 1].
This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):