第32038题 单选题
执行以下Python代码,最终输出的结果是?
s = "hello,world,python"
lst = s.split(",")
result = "-".join(lst[1:])
print(result)
A

"hello-world-python"

B

"world-python"

C

"hello,world,python"

D

运行抛出异常

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析