On Friday, August 10, 2012 8:31:48 AM UTC-7, Tamer Higazi wrote:
> let us say a would be x = [2,5,4]
>
> y = a[3]
>
> if I change y to []
>
> I want the result to be x = [2,5,[]] and that's automaticly
There is no such thing as a[3] if a=[2,4,5]. And this is a list not a
dictionary, so I wo
Sorry,
I ment of course list
what I exaclty ment is
that if I assign
value = Number
that I automaticly assign y[1][3][6][1][1] a new number.
more detailled explained:
let us say a would be x = [2,5,4]
y = a[3]
if I change y to []
I want the result to be x = [2,5,[]] and that's automati
On 08/10/2012 10:02 AM, Tamer Higazi wrote:
> Hi!
> suppose you have a dictionary that looks like this:
>
> x = [1,3,6,1,1] which should represent a certain other variable.
>
> in reality it would represent:
>
> y[1][3][6][1][1]
>
> Now, how do I write a python routine, that points in this dictiona
:
> suppose you have a dictionary that looks like this:
>
> x = [1,3,6,1,1] which should represent a certain other variable.
That's a list, not a dict.
> in reality it would represent:
>
> y[1][3][6][1][1]
>
> Now, how do I write a python routine, that points in this dictionary,
> where I should
On Sat, Aug 11, 2012 at 12:02 AM, Tamer Higazi wrote:
> Hi!
> suppose you have a dictionary that looks like this:
>
> x = [1,3,6,1,1] which should represent a certain other variable.
>
> in reality it would represent:
>
> y[1][3][6][1][1]
>
> Now, how do I write a python routine, that points in th
Hi!
suppose you have a dictionary that looks like this:
x = [1,3,6,1,1] which should represent a certain other variable.
in reality it would represent:
y[1][3][6][1][1]
Now, how do I write a python routine, that points in this dictionary,
where I should receive or set other values.
Tamer
--