[Tutor] Random Variable at root

2006-10-03 Thread Jonathon Sisson
Hugo, You need to create an instance of the Root class before you can call rootState in your final print statement. Your code doesn't do this. A class is merely a template, something like blueprints to a house. For you to be able to unlock the front door (for instance), you need to actually bui

Re: [Tutor] Random Variable at root

2006-10-03 Thread Eric Walstad
Hi Hugo, halamillo wrote: > I;m starting this > code so I can assign either a 0 or a 1 at a root node that I will later > evolve throughout a tree, but for some reason it is not printing the > rootState value. It's not clear to me which variable you are trying to assign a zero or one. Here's

[Tutor] Random Variable at root

2006-10-03 Thread halamillo
Hello,  I'm a really-green-to-python Biology Grad Student. I;m starting this code so I can assign either a 0 or a 1 at a root node that I will later evolve throughout a tree, but for some reason it is not printing the rootState value.  I know its probably a really stupid mistake, but I can't seem t