May-03-2017, 09:49 AM
Hi all
python 2.7
can someone explain the logic here I am confused (doesn't take much to confuse me
In the first example everything works OK.But the second example despite the fact that x is a variable
it doesn't work.Now the question here is this...does python have strange logic...or do I
example 1
al
python 2.7
can someone explain the logic here I am confused (doesn't take much to confuse me
In the first example everything works OK.But the second example despite the fact that x is a variable
it doesn't work.Now the question here is this...does python have strange logic...or do I
example 1
a = 1 print a a +=1 print aexample 2
e = 10 print e x = e +=1 print xkind regards
al