【发布时间】:2023-03-27 06:35:01
【问题描述】:
我有这份清单
l = [[hello,world],[i need help, python]]
l [0] = [hello, world]
l [1] = [i need help, python]
我需要用逗号分隔l[0] 和l[1],但我不知道该怎么做
因为"hello, world" 和"i need help, python" 是字符串。
谁能帮帮我!
【问题讨论】:
-
目前它们不是字符串。你能至少包括引号吗?预期的输出是什么?