tools=["LabelMe",'VIA',"CVAT"] print("创建的列表内容为:",tools) print("列表长度(工具个数):",len(tools)) print("第一个工具是:",tools[0]) print("最后一个工具是:",tools[-1]) print("="*40)
Standard input is empty
创建的列表内容为: ['LabelMe', 'VIA', 'CVAT'] 列表长度(工具个数): 3 第一个工具是: LabelMe 最后一个工具是: CVAT ========================================