fork download
  1. #定义列表,存储常用标注工具名称
  2. tools=["LabelMe","VIA","CVAT"]
  3. #输出列表内容
  4. print("#"*40)
  5. print("工具列表")
  6. print("创建列表内容:",tools)
  7. print("列表长度(工具个数):",len(tools))
  8. print("第一个工具是:",tools[0])
  9. print("最后一个工具是:",tools[-1])
  10. print()
  11.  
Success #stdin #stdout 0.08s 14136KB
stdin
Standard input is empty
stdout
########################################
工具列表
创建列表内容: ['LabelMe', 'VIA', 'CVAT']
列表长度(工具个数): 3
第一个工具是: LabelMe
最后一个工具是: CVAT