Generic List Index Extraction

Function: Common list extraction, which can extract some values in the list according to the specified index.

Input Parameters:

Name Type Valid Range Default Value Meaning

Input list

List

None

None

Enter the list, but the list composed of different data types, the data type can not be changed, can only be a list.

Output Parameters:

Name Type Valid Range Default Value Meaning

Extract results

AnyType

None

None

Results extracted based on parameters.

Parameter Settings:

Name Type Valid Range Default Value Meaning

Index

Integer

[-10000, 10000]

0

Given an index, extract the value of the corresponding index in the list. When it is a negative number such as -k, it means that the kth value is extracted from the end of the array.