In a book that I'm learning, there is a project which I have to create a game called "Guess my number". In this game, I pick a number from 1 to 100 and let the computer guess my number. I don't know how code control the numbers i type
i don't know what is wrong with this
can anyone please help. will really appreciate
I'm using python 2.5
Code:
.
number = raw_input("Enter a Number: ")
if number < "1":
print "invalid"
if number > "100":
print "invalid
else:
print "continue"
can anyone please help. will really appreciate
I'm using python 2.5
Comment