Hi,
Please modify your else block .
else:
print("Higher...")
guess = int(input("Take a guess: "))
tries += 1
This should work for you.
Regards,
Nehal Dattani
On Sat, Sep 24, 2011 at 8:13 PM, Cameron Macleod wrote:
> Hi,
>
> I've bee
Hi cameron,
Sorry, I didn't tested it properly.
Actual block should go like this
while guess != the_number:
if guess > the_number:
print("Lower...")
else:
print("Higher...")
guess = int(input("Take a guess: "))
tries += 1
On Sat
Hi,
> Unfortunately I am not, this needs to happen in python.
>
>
>
Please see if following helps.
http://stackoverflow.com/questions/5863999/python-cut-example
Regards,
Nehal Dattani
___
Tutor maillist - Tutor@python.org
To unsubscri