fork download
  1. # your code goes here
Success #stdin #stdout 0.08s 7916KB
stdin
print("=" * 40)
print("工具介绍(使用循环)")
# 使用循环遍历列表中的每个工具
index = 1 # 增加序号变量
for tool in tools:
    # 生成介绍语句
    description = f"工具:{tool} —— 适用于数据标注"
    # 带序号输出,更清晰
    print(f"{index}. {description}")
   Index +=1  # 序号递增
stdout
Standard output is empty