print("--- AI训练常用工具 ---")
tools = ["TensorFlow", "PyTorch", "Keras"]
print("初始工具列表:", tools)
print("当前工具数量:", len(tools))
print("每个工具名称:")
for t in tools:
print(" -", t)
print("\n--- 添加新工具 ---")
new_tools = ["Scikit-learn", "MXNet"]
for tool in new_tools:
if tool not in tools:
tools.append(tool)
else:
print(f"工具 '{tool}' 已存在,跳过添加")
print("\n更新后的工具列表:", tools)
cHJpbnQoIi0tLSBBSeiuree7g+W4uOeUqOW3peWFtyAtLS0iKSAgICAgICAgIAp0b29scyA9IFsiVGVuc29yRmxvdyIsICJQeVRvcmNoIiwgIktlcmFzIl0KcHJpbnQoIuWIneWni+W3peWFt+WIl+ihqDoiLCB0b29scykKcHJpbnQoIuW9k+WJjeW3peWFt+aVsOmHjzoiLCBsZW4odG9vbHMpKSAgICAKcHJpbnQoIuavj+S4quW3peWFt+WQjeensO+8miIpICAgICAgICAgICAgICAgIApmb3IgdCBpbiB0b29sczogICAgICAgICAgICAgICAgICAgICAgIAogICAgcHJpbnQoIiAtIiwgdCkKICAgIAogICAgcHJpbnQoIlxuLS0tIOa3u+WKoOaWsOW3peWFtyAtLS0iKQpuZXdfdG9vbHMgPSBbIlNjaWtpdC1sZWFybiIsICJNWE5ldCJdIApmb3IgdG9vbCBpbiBuZXdfdG9vbHM6CiAgICBpZiB0b29sIG5vdCBpbiB0b29sczoKICAgICAgICB0b29scy5hcHBlbmQodG9vbCkKICAgIGVsc2U6CiAgICAgICAgcHJpbnQoZiLlt6XlhbcgJ3t0b29sfScg5bey5a2Y5Zyo77yM6Lez6L+H5re75YqgIikKcHJpbnQoIlxu5pu05paw5ZCO55qE5bel5YW35YiX6KGoOiIsIHRvb2xzKQ==