发布网友 发布时间:2022-04-24 11:51
共1个回答
热心网友 时间:2022-04-06 11:24
m = dict()
#m = {}
m['a'] = 1 #赋值
m['b'] = 2
print m['a'] #取值
就这么简单。
如果解决了您的问题请采纳!
如果未解决请继续追问
追问我如果把这样一条数据给你追答s = "232783,宁B95722,2,,,,43,,0453cfc7-4ecb-459e-bcca-5fe569019d70,,,,,,,
LGAG4DY5595570024,,,,,,,,,,1,,,,,,,,0,1362721441000,1000061"
chepai = s.split(",", 2)[1]