Re: variable question

2008-07-12 Thread Peter Otten
happy wrote: > I think its better to leave the "teach kiddies" tutoring opportunity > for the python experts out there. If you know how to make some simple scripts that do something that kids find interesting and are able to convey your enthusiasm, you are better suited to teach than any expert w

Re: variable question

2008-07-12 Thread happy
On Jul 12, 8:05 am, Robert Lehmann <[EMAIL PROTECTED]> wrote: > On Fri, 11 Jul 2008 20:13:04 -0700, happy wrote: > > Can a variable be considered the simplest of the data structures. I am > > tutoring some kids about basics of programming using python. Not an > > expert in computer sciences, but am

Re: variable question

2008-07-11 Thread Robert Lehmann
On Fri, 11 Jul 2008 20:13:04 -0700, happy wrote: > Can a variable be considered the simplest of the data structures. I am > tutoring some kids about basics of programming using python. Not an > expert in computer sciences, but am a python enthusiast. Why do you need this additional layer of indir

Re: variable question

2008-07-10 Thread norseman
Support Desk wrote: I am trying to assign a variable using an if / else statement like so: If condition1: Variable = something If condition2: Variable = something else Do stuff with variable. But the variable assignment doesn't survive outside the if stateme

Re: variable question

2008-07-09 Thread Terry Reedy
Support Desk wrote: I am trying to assign a variable using an if / else statement like so: If condition1: Variable = something If condition2: Variable = something else Do stuff with variable. But the variable assignment doesn’t survive outside the if statement.

Re: variable question

2008-07-09 Thread Russell Blau
"Support Desk" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am trying to assign a variable using an if / else statement like so: > If condition1: > Variable = something > If condition2: > Variable = something else > Do stuff with variable. > > But the v