第27159题 单选题
分析以下Python代码的运行输出结果是?
s = "hello world python"
words = s.split()
words.append("java")
words[1] = words[1].upper()
print(" ".join(words[:3]))
A

hello world python

B

hello WORLD python

C

hello WORLD Python

D

hello world java

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