<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Sep 4, 2009, at 8:31 PM, <a href="mailto:kb1pkl@aim.com">kb1pkl@aim.com</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><font face="Arial, Helvetica, sans-serif">I know, I'm a total noob (started yester day) <br>
But when I enter this code:<br>
x = 1<br>
if x&gt;0:<br>
&nbsp;&nbsp;&nbsp; a = raw_input ("Type something in...I will echo it:")<br>
&nbsp;&nbsp;&nbsp; print a<br>
&nbsp;&nbsp;&nbsp; x=x+1<br>
it does not loop..am I missing something here?</font></blockquote><br></div><div><div>In your example the if statement is only evaluated once, for when x = 1. &nbsp;If you want to create a loop replace the if with a while.</div><div><br></div><div>--Felix</div></div></body></html>