<div><span class="gmail_quote">On 8/13/07, <b class="gmail_sendername">Ori</b> <<a href="mailto:oorrii@gmail.com">oorrii@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>OK I got the point. I have to use several statements in a single line.<br><br>For exmpale, something like:
<br>i = 1; if (i >=1): i = 0<br><br>is there a way to do it? Is there a replacement to the newline char?</blockquote>
<div> </div>
<div>This is legal Python:</div>
<div> </div>
<div>a = 1; b = 2<br>if a != b: print 'different'<br> </div>
<div>I don't know *why* someone would want to write code like this unless they've been programming for such a short time that they've never had to go back and change something that they wrote over a year ago. I find this style unreadable.
</div>
<div> </div>
<div>--</div>
<div>Curt Hagenlocher</div>
<div><a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a></div></div>