fork download
  1. tools=["LabelMe","VIA","CVAT"]
  2. print(tools)
  3. print("=" *40)
  4. print("工具列表")
  5. print('创建的列表内容为:',tools)
  6. print('列表长度(工具个数):',len(tools))
  7. print('第一个工具是:',tools[0])
  8. print('最后一个工具是',tools[-1])
  9. print()
Success #stdin #stdout 0.07s 14128KB
stdin
Standard input is empty
stdout
['LabelMe', 'VIA', 'CVAT']
========================================
工具列表
创建的列表内容为: ['LabelMe', 'VIA', 'CVAT']
列表长度(工具个数): 3
第一个工具是: LabelMe
最后一个工具是 CVAT