Python论坛  - 讨论区

标题:[python-chinese] python-chinese 摘要, 卷 48, 发布 105

2007年12月12日 星期三 11:26

GoodGoodStudy&DayDayUp peixu.zhu在gmail.com
星期三 十二月 12 11:26:50 HKT 2007

有个疑问。。。。。。
我们平常用字典的时候都是要有顺序的啊。如果字典里面那个字排的没有顺序,不方便查啊!
如果没有顺序,觉得就是 map 了。。。

> Message: 2
> Date: Wed, 12 Dec 2007 09:30:34 +0800
> From: otherrrr <otherrrr at gmail.com>
> Subject: Re: [python-chinese] (无主题)
> To: python-chinese at lists.python.cn
> Message-ID:
>         <1e534c930712111730y17115a65u90189eff0d572b23 at mail.gmail.com>
> Content-Type: text/plain; charset="gb2312"
>
> 字典没有元素顺序的概念。



-- 
THINK big, DO small.

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年12月12日 星期三 11:39

李超 lichao在youku.com
星期三 十二月 12 11:39:54 HKT 2007

平时使用字典都是通过key查value的方式,好像顺序没什么关系呀,本人拙见。

GoodGoodStudy&DayDayUp; 写道:
> 有个疑问。。。。。。
> 我们平常用字典的时候都是要有顺序的啊。如果字典里面那个字排的没有顺序,不方便查啊!
> 如果没有顺序,觉得就是 map 了。。。
>
>   
>> Message: 2
>> Date: Wed, 12 Dec 2007 09:30:34 +0800
>> From: otherrrr <otherrrr在gmail.com>
>> Subject: Re: [python-chinese] (无主题)
>> To: python-chinese在lists.python.cn
>> Message-ID:
>>         <1e534c930712111730y17115a65u90189eff0d572b23在mail.gmail.com>
>> Content-Type: text/plain; charset="gb2312"
>>
>> 字典没有元素顺序的概念。
>>     
>
>
>
>   

      

 


[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号