Re: [Tutor] Problems understanding control flow

2009-07-30 Thread Eduardo Vieira
On Thu, Jul 30, 2009 at 5:56 PM, Eduardo Vieira wrote: > On Thu, Jul 30, 2009 at 4:49 PM, Sander Sweers wrote: >> 2009/7/30 Eduardo Vieira : >> >> With == you are testing if the 2 values are exactly the same. So 'one' >> == 'one' will return True but 'one; == 'one two' will return False. >> >> With

Re: [Tutor] Problems understanding control flow

2009-07-30 Thread Eduardo Vieira
On Thu, Jul 30, 2009 at 4:49 PM, Sander Sweers wrote: > 2009/7/30 Eduardo Vieira : > > With == you are testing if the 2 values are exactly the same. So 'one' > == 'one' will return True but 'one; == 'one two' will return False. > > With in you test if the value is part of a another value. So using

Re: [Tutor] Problems understanding control flow

2009-07-30 Thread Sander Sweers
2009/7/30 Eduardo Vieira : With == you are testing if the 2 values are exactly the same. So 'one' == 'one' will return True but 'one; == 'one two' will return False. With in you test if the value is part of a another value. So using the same value as above 'one' in 'one' will return True but 'one