Showing content from http://mail.python.org/pipermail/python-dev/attachments/20090408/9bfcc1d0/attachment.htm below:
Now, I know that sets aren't ordered, but...<br><br>foo = set([1,2,3,4,5])<br>bar = [1,2,3,4,5]<br><br>foo.pop() will reliably return 1 <br>while bar.pop() will return 5<br><br>discuss :)<br><br><br>Cheers,<br>-T<br><br>
<br>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4