print "Think of a number from 1 to 100." smallest = 1 largest = 100 guess = (smallest + largest) / 2 print "My first guess is " + str(guess) + "."