Python列表list赋值
提问人:杨紫红发布时间:2020-11-26
赋值
a = [2, 3, 4] # A list of integer
b = [2, 7, 3.5, “Hello”]
c = []
d = [2, [a, b]] # 嵌套列表
e = [x*x for x in range(10)]
继续查找其他问题的答案?
相关视频回答
回复(0)
赋值
a = [2, 3, 4] # A list of integer
b = [2, 7, 3.5, “Hello”]
c = []
d = [2, [a, b]] # 嵌套列表
e = [x*x for x in range(10)]
点击加载更多评论>>