Re: [Tutor] Guess my number? Guess what's wrong!

2010-04-19 Thread Matthew Carpenter-Arevalo
Thanks! On Sat, Apr 17, 2010 at 1:32 PM, Jim Byrnes wrote: > Matthew Carpenter-Arevalo wrote: > >> Hi Everyone, >> >> I'm a beginner python programmer, and I've been working on >> the perennial 'guess my number' example. >> >> When

[Tutor] Guess my number? Guess what's wrong!

2010-04-17 Thread Matthew Carpenter-Arevalo
Hi Everyone, I'm a beginner python programmer, and I've been working on the perennial 'guess my number' example. When I run this in my module, I get an infinite loop of 'higher' or 'lower.' Can anyone see where I'm going wrong herE? Thanks, MCA # Guess my number # the computer picks a random