首页 > 代码库 > Learn Python 007: Lists

Learn Python 007: Lists

python_list = [‘ace‘, ‘list ‘, [‘in ‘, 9, ‘another list‘], 3, 6, True, False]
# output = python_list[1] + python_list[2][0] + python_list[2][2]
# print(output)
print(python_list[1] + python_list[2][0] + python_list[2][2])

 

Learn Python 007: Lists