2007年12月12日 星期三 11:26
有个疑问。。。。。。 我们平常用字典的时候都是要有顺序的啊。如果字典里面那个字排的没有顺序,不方便查啊! 如果没有顺序,觉得就是 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.
2007年12月12日 星期三 11:39
平时使用字典都是通过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" >> >> 字典没有元素顺序的概念。 >> > > > >
Zeuux © 2025
京ICP备05028076号