代码示例:(标识:python_list_access)
python_list_access.py
thislist = ["apple", "banana", "cherry"]
print(thislist[1])
运行结果: