Basics of Python,learning

D'Arcy J.M. Cain darcy at
Sun Mar 16 17:47:28 CET 2008

On Sun, 16 Mar 2008 17:25:26 +0100
Guido van Brakel <guidovb1 at> wrote:
> Hello
> Why is this not working,and how can I correct it?

What are you expecting it to do?  For one thing, you are acting on a
variable 'a' but it is never defined.  The only objects that you have
is z, y, b and then b is redefined as a method which creates a variable
'x', overwrites it twice and then discards it.  Doesn't matter since
you never call the method anyway.

Back to the textbook I think.

D'Arcy J.M. Cain <darcy at>         |  Democracy is three wolves                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.

More information about the Python-list mailing list