On 23/10/2013 03:25, Corinne Landers wrote:
> -->
> Hi guys, I
> need a bit of help. I'm writing a class, and in the main
> function I'm trying to say if this method gets called, do
> this. I'm trying things
> like:program = AnimalClass(x,y,z)for i
> in range(x): for j in range(y):
>
On 23 October 2013 08:25, Corinne Landers wrote:
> Hi guys,
Hi Corrine,
> I need a bit of help.
> I'm writing a class, and in the main function I'm trying to say if this
> method gets called, do this.
> I'm trying things like:
>
> program = AnimalClass(x,y,z)
> for i in range(x):
>for j in r
On 23/10/13 08:25, Corinne Landers wrote:
Hi guys,
I need a bit of help.
I'm writing a class, and in the main function I'm trying to say if this
method gets called, do this.
What you are actually doing is "if the method returns
a truth-like value do this." Not quite the same thing,
but much ea
Hi guys,
I need a bit of help. I'm writing a class, and in the main function I'm trying
to say if this method gets called, do this. I'm trying things like:
program = AnimalClass(x,y,z)for i in range(x): for j in range(y): for k
in range(z): animal = program.animal() if animal: