阅读背景:

有没有更好的方法使用键但没有值将列表转换为Python中的字典?

来源:互联网 

I was sure that there would be a one liner to convert a list to a dictionary where the items in the list were keys and the dictionary had no values.I was sure that there would be a one liner to c




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: