Op 23-11-15 om 09:57 schreef Peter Otten:
> Quivis wrote:
>
>> On Thu, 19 Nov 2015 12:40:17 +0100, Peter Otten wrote:
>>
>>> those questions that are a little harder
>> And just how is he going to determine what is hard?
> Note that I said "a little harder", not "hard".
>
> Write down your next
Quivis wrote:
> On Thu, 19 Nov 2015 12:40:17 +0100, Peter Otten wrote:
>
>> those questions that are a little harder
>
> And just how is he going to determine what is hard?
Note that I said "a little harder", not "hard".
Write down your next ten or so questions, then work through the tutorial
On Sun, Nov 22, 2015 at 6:25 PM, Quivis wrote:
> On Thu, 19 Nov 2015 12:40:17 +0100, Peter Otten wrote:
>
> > those questions that are a little harder
>
> And just how is he going to determine what is hard?
> --
> _ __ __ __ __ __ __ __
> (( )) || || || \\ //
Hi,
In the previous exercises, I see list:
cc=[[],[],[]]
Then, I can have this:
ccc=[[[]],[[]],[[]]]
I can also have
ccc[0]
Out[158]: [[]]
ccc[0]='o'
ccc
Out[163]: ['o', [[]], [[]]]
I have question: Is there any difference between [[]] and []?
[[]] can have deeper assignment and use than
> I have question: Is there any difference between [[]] and []?
Yes.
[] - a list with zero elements. That is an empty list.
[[]] - A list with one element. (That element is an empty list.)
> [[]] can have deeper assignment and use than
You can have it as deep as you want, if you have enough
fl wrote:
> Hi,
> In the previous exercises, I see list:
> cc=[[],[],[]]
>
> Then, I can have this:
>
> ccc=[[[]],[[]],[[]]]
>
> I can also have
>
> ccc[0]
> Out[158]: [[]]
>
> ccc[0]='o'
>
> ccc
> Out[163]: ['o', [[]], [[]]]
>
>
> I have question: Is there any difference between [[]] and
On 19/11/2015 11:28, fl wrote:
Hi,
In the previous exercises, I see list:
cc=[[],[],[]]
Then, I can have this:
ccc=[[[]],[[]],[[]]]
I can also have
ccc[0]
Out[158]: [[]]
ccc[0]='o'
ccc
Out[163]: ['o', [[]], [[]]]
I have question: Is there any difference between [[]] and []?
[[]] can have