title: Python string formatting issue
body: <pre><code>import random
  
  def main():
      the_number = random.randint(1,100)
      guess = 0
      no_of_tries = 0
      while guess != the_number:
          no_of_tries += 1
          guess = int(input("Enter your guess: "))
          if guess &lt; the_number:
              print "--------------------------------------"
              print "Guess higher!", "You guessed:", guess
              if guess == the_number - 1:
                  print "You're so close!"
          if guess &gt; the_number:
              print "--------------------------------------"
              print "Guess lower!", "You guessed:", guess
              if guess == the_number + 1:
                  print "You're so close!"
          if guess == the_number:
              print "--------------------------------------"
              print "You guessed correctly! The number was:", the_number
              print "And it only took you", no_of_tries, "tries!"
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>Right now, in my random number guessing game, if a person guesses lower or higher by one number, they receive the following message:</p>
  
  <pre><code>Guess lower! You guessed: 33
  You're so close!
  </code></pre>
  
  <p>But I want to make it one sentence. </p>
  
  <p>For example: </p>
  
  <pre><code>Guess lower! You guessed: 33. You're so close!
  </code></pre>
  
  <p>How would I implement this in my code? Thanks!</p>