作者:yunzjyun | 来源:互联网 | 2023-05-18 06:30
IamsosorryIfmyquestionisstupid,butIcouldntfindasolution如果我的问题很愚蠢,我很抱歉,但我找不到解决办法……
I am so sorry If my question is stupid, but I couldn't find a solution...
如果我的问题很愚蠢,我很抱歉,但我找不到解决办法……
I want to know if its possible to create an array in python, pretty like a json:
我想知道是否可以用python创建一个数组,非常像json:
car = [
["Brand", "Citroen"],
["Model", "C4"],
["Details", "Lounge"],
["shift",
[
["manual","5", "shifts"],
["automatic","5", "sequential"]
["automatic","5", "paddleshift"]
]
]
]
Thanks in advance.
提前谢谢。
2 个解决方案