element Function
element
retrieves a single element from a list.
The index is zero-based. This function produces an error if used with an empty list.
Use the built-in index syntax list[index]
in most cases. Use this function
only for the special additional "wrap-around" behavior described below.
Examples
If the given index is greater than the length of the list then the index is "wrapped around" by taking the index modulo the length of the list: