title = "Guess my number game:"
print title.title()
raw_input("Press any key to continue..")
import random
tries = 0
number = random.randrange(99) + 1
guess = int(raw_input("Guess my number! Secret - It is between 1 and 100 :")
while (guess != number):
if (guess > number):
number = int(raw_i
Okay, thank you very much for the timely replies, heres what i have now:
title = "Guess my number game:"
print title.title()
raw_input("Press any key to continue..")
import random
number = random.randrange(99) + 1
tries = 0
guess = int(raw_input("Guess my number! Secret - It is between 1 and 100
Oh wow I can't believed I derped that hard
Thanks Lol.
--
http://mail.python.org/mailman/listinfo/python-list
I've got it working! I'm really enjoying python :) But now i'd like to make it
break out of the while loop when the user guesses more than 5 numbers and
fails..
title = "Guess my number game:"
print title.title()
raw_input("Press any key to continue..")
import random
number = random.randra
Thank you! It's 100% functional now, here's the final project:
title = "Guess my number game:"
print title.title()
raw_input("Press any key to continue..")
import random
number = random.randrange(99) + 1
tries = 0
guess = int(raw_input("Guess my number! Secret - It is between 1 and 100 :")