Learn Python 007: Lists

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章