Previous Up Next

2.37.5  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