Previous Up Next

5.43.7  Remove an element in a list: suppress

suppress takes as argument a list and an integer n.
suppress returns the list where the element of index n is removed.
Input:

suppress([3,4,2],1)

Output:

[3,2]

Previous Up Next