第32046题 单选题
已知Python中字符串s = 'hello,python',以下哪个代码执行后能得到列表['h', 'e', 'l', 'l', 'o', ',', 'p', 'y', 't', 'h', 'o', 'n']?
A

list(s)

B

s.split(',')

C

s.split()

D

[s]

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