4199: 输入多个以英文逗号分隔的字符串作为新列表的元素
内存限制:128 MB
时间限制:1.000 S
评测方式:文本比较
命题人:
提交:1
解决:1
题目描述
ls=input().split(",") #hello,python,world
print(ls)
样例输入 复制
hello,python,world
样例输出 复制
['hello', 'python', 'world']
提示
ls=input().split(",") #hello,python,world print(ls)