Hi, <div><br></div><div>I am new to Python, and have hit a WALL.  Any help is appreciated!   Below is what I have so far, for the &quot;High Low Game&quot;...when I try to run it, nothing happens, so I have been unable to finish it.  I am sure it is something simple...</div>
<div><br></div><div><div>#assignment 2 part 1 high low</div><div><br></div><div>def main():</div><div>     print &quot; Pick a number between 1 and 1000 and I will try to guess it&quot;</div><div>     print &quot;in no more than 10 tries. After each guess, enter 0 if I&quot;</div>
<div>     print &quot;got it right, -1 if I need to guess lower, and 1 if I need to&quot;</div><div>     print &quot;guess higher.&quot;</div><div><br></div><div>high=1000</div><div>low=1</div><div>tries=1</div><div><br></div>
<div>while high &gt; low:</div><div>     ave=(high+low)/2</div><div>     print &quot;My guess is&quot;, ave,</div><div>     guess=int(raw_input(&quot;Please enter &#39;-1&#39;,&#39;0&#39;,or &#39;1&#39;):&quot;))</div><div>
     print guess</div><div>     if guess == 0:</div><div>          print &quot;That took 1&quot;, tries, &quot;guesses.&quot;</div><div>          </div><div>     elif guess == -1:           </div><div>          print &quot;I will guess lower.&quot;</div>
<div>     elif guess == 1:</div><div>          print &quot;I will guess higher.&quot;</div><div>     else:</div><div>          print &quot;Pick a number between 1 and 1000 and I will try to guess it&quot;</div><div>          print &quot;in no more than 10 tries.  After each guess, enter 0 if I&quot;</div>
<div>          print &quot;got it right, -1 if I need to guess lower, and 1 if I need to&quot;</div><div>          print &quot;guess higher.&quot;</div><div><br></div><div>     main()</div><div>     </div><div>               </div>
<div>     </div><div><br></div></div>