按下标读取数组元素,支持负数从数组尾部反向读取。
array.at(index)
items = ['a', 'b', 'c'] result = items.at(-1) // 输出:c print result