Throw a dice and use the number from the dice as index value. Use rand to avoid actually throwing a dice.
Or did you mean to remove a special element that can somehow be identified? If so, tell us how to identify the unwanted element. Also look up grep in the documentation.
Alexander
In reply to Re: removing an element without index
by afoken
in thread removing an element without index
by Levex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |