On Thu, 07 May 2009 11:40:57 -0700, Chris Rebert wrote:
>> why is the printed result of
>>
> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
> print(basket)
>> {'orange', 'banana', 'pear', 'apple'}
>>
>> in the sequence given?
>
> Because it's *not a sequence* at all, it
On Fri, 8 May 2009 10:16:55 +0100, Alan Cameron wrote:
[snip]
>
> In particular reference to the tutorial section
> http://docs.python.org/3.0/tutorial/datastructures.html#nested-list-comprehensions
>
> There is a word which is ambiguous, at least to me.
>
> Perhaps you can explain the use of the
"Terry Reedy" wrote in message
news:mailman.5248.1241732704.11746.python-l...@python.org...
> Alan Cameron wrote:
>>
> why is the printed result of
>
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)
> {'orange', 'banana', 'pear', 'apple
Alan Cameron wrote:
why is the printed result of
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)
{'orange', 'banana', 'pear', 'apple'}
in the sequence given?
It appears that I used a reserved term when I used 'sequence'.
No and Sort-of.
No: We often use
Alan Cameron wrote:
> "Alan Cameron" wrote in message
> news:hrfml.50224$tb.4...@newsfe07.ams2...
>>I am not sure of this is the right place to ask a question about the
>>tutorial
>>
>> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>>
>> why is the printed result of
>>
> basket
"Chris Rebert" wrote in message
news:mailman.5238.1241723354.11746.python-l...@python.org...
> On Thu, May 7, 2009 at 11:58 AM, Alan Cameron
> wrote:
>> "Alan Cameron" wrote in message
>> news:hrfml.50224$tb.4...@newsfe07.ams2...
>>>I am not sure of this is the right place to ask a question ab
On Thu, May 7, 2009 at 11:58 AM, Alan Cameron wrote:
> "Alan Cameron" wrote in message
> news:hrfml.50224$tb.4...@newsfe07.ams2...
>>I am not sure of this is the right place to ask a question about the
>>tutorial
>>
>> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>>
>> why is the
Alan Cameron wrote:
> I am not sure of this is the right place to ask a question about the
> tutorial
>
> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>
> why is the printed result of
>
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)
> {
"Alan Cameron" wrote in message
news:hrfml.50224$tb.4...@newsfe07.ams2...
>I am not sure of this is the right place to ask a question about the
>tutorial
>
> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>
> why is the printed result of
>
basket = {'apple', 'orange', 'apple',
Alan Cameron wrote:
I am not sure of this is the right place to ask a question about the
tutorial
http://docs.python.org/3.0/tutorial/datastructures.html#sets
why is the printed result of
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)
{'orange', 'banana', 'p
"Alan Cameron" writes:
> I am not sure of this is the right place to ask a question about the
> tutorial
>
> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>
> why is the printed result of
>
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
print(basket)
>
On Thu, May 7, 2009 at 11:35 AM, Alan Cameron
wrote> I am not sure of this is the right place to ask a question
about the
> tutorial
>
> http://docs.python.org/3.0/tutorial/datastructures.html#sets
>
> why is the printed result of
>
basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'ban
I am not sure of this is the right place to ask a question about the
tutorial
http://docs.python.org/3.0/tutorial/datastructures.html#sets
why is the printed result of
>>> basket = {'apple', 'orange', 'apple', 'pear', 'orange', 'banana'}
>>> print(basket)
{'orange', 'banana', 'pear', 'apple'}
13 matches
Mail list logo