Re: [Tutor] name is not defined error (fwd)

2006-10-30 Thread Kent Johnson
Danny Yoo wrote: > > -- Forwarded message -- > Date: Sun, 29 Oct 2006 12:33:58 -0500 > From: Kristinn Didriksson <[EMAIL PROTECTED]> > To: Danny Yoo <[EMAIL PROTECTED]> > Subject: Re: [Tutor] name is not defined error > > Hi Danny, > Thanks

Re: [Tutor] name is not defined error (fwd)

2006-10-29 Thread Danny Yoo
-- Forwarded message -- Date: Sun, 29 Oct 2006 12:33:58 -0500 From: Kristinn Didriksson <[EMAIL PROTECTED]> To: Danny Yoo <[EMAIL PROTECTED]> Subject: Re: [Tutor] name is not defined error Hi Danny, Thanks :) The program works now. I'll take a look at those thre

Re: [Tutor] name is not defined error

2006-10-29 Thread Alan Gauld
"Kristinn Didriksson" <[EMAIL PROTECTED]> wrote > I am trying to solve the following exercise and get a name is not > defined error. It is my understanding that eval turns a string into > a > number and then I can do math operations on it. Not really. eval takes a string and interprets it as a py

Re: [Tutor] name is not defined error

2006-10-29 Thread Danny Yoo
> It is my understanding that eval turns a string into a number and then I > can do math operations on it. Hi Kristinn, No, no, that's not what it does. *grin* Where did you read about eval() from? If you saw it in a beginner's tutorial, tell us who the guilty party is so we can knock some

[Tutor] name is not defined error

2006-10-29 Thread Kristinn Didriksson
Hello, I am new to Python and programming and going through the "Python Programming " book by Zelle. I am trying to solve the following exercise and get a name is not defined error. It is my understanding that eval turns a string into a number and then I can do math operations on it. Any help