<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Sorry ,  I meant this, like Jason mentioned the input prompt must be
    inside the while loop in order for it to wait for the user input :<br>
    <br>
    print("Welcome.")<br>
    g = input("Guess the number: ")<br>
        guess = int(g)<br>
    <br>
    while guess != 5<br>
        print("Guess again.")<br>
        g = input("Guess the number: ")<br>
        guess = int(g)<br>
        print("Correct")<br>
    <br>
    <b>Thanks<br>
      Amit<br>
    </b>
    <div class="moz-cite-prefix">On 4/13/2015 12:21 PM, Michael Havens
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFRvunKyf6e9OOSm7jO=no-f7uS68qP_T3QTsUA956Yah3E4hg@mail.gmail.com"
      type="cite"><span class="">print("Welcome.")<br>
        g = input("Guess the number: ")<br>
        guess = int(g)<br>
        <br>
        while guess != 5<br>
            print("Guess again.")<br>
      </span>
          guess = int(g)<br>
          print("Correct")</blockquote>
    <br>
  </body>
</html>