<div>you work with dictionary.</div>
<div>In dictionary you work with the key to get your value. You don't care about how python arrange the key.</div>
<div>your key here are: 'res', 'com', 'ind', and &nbsp;'other'</div>
<div>when you want to get your value you just type:</div>
<div>landUse['res'] this you will get 1</div>
<div>landUse['ind'] this you will get 3</div>
<div>&nbsp;</div>
<div>cheers,</div>
<div>pujo<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 10/24/05, <b class="gmail_sendername">Shi Mu</b> &lt;<a href="mailto:samrobertsmith@gmail.com">samrobertsmith@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I typed:<br>landUse = {'res': 1, 'com': 2, 'ind': 3, &quot;other&quot; :[4,5,6,7]}<br>and when i checked landUse, I found it become:
<br>{'ind': 3, 'res': 1, 'other': [4, 5, 6, 7], 'com': 2}<br>why the order is changed?<br>_______________________________________________<br>Tutor maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br><a href="http://mail.python.org/mailman/listinfo/tutor">
http://mail.python.org/mailman/listinfo/tutor</a><br></blockquote></div><br>