Newcomer to Python tutorial question

Alan Cameron alan.cameron at
Thu May 7 20:35:07 CEST 2009

I am not sure of this is the right place to ask a question about the 

why is the printed result of

>>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
>>> print(basket)
{'orange', 'banana', 'pear', 'apple'}

in the sequence given?

Alan Cameron 

More information about the Python-list mailing list