<div><span class="gmail_quote">On 8/13/07, <b class="gmail_sendername">Ori</b> &lt;<a href="mailto:oorrii@gmail.com">oorrii@gmail.com</a>&gt; 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 &gt;=1): i = 0<br><br>is there a way to do it? Is there a replacement to the newline char?</blockquote>
<div>&nbsp;</div>
<div>This is legal Python:</div>
<div>&nbsp;</div>
<div>a = 1; b = 2<br>if a != b: print &#39;different&#39;<br>&nbsp;</div>
<div>I don&#39;t know *why* someone would want to write code like this unless they&#39;ve been programming for such a short time that they&#39;ve never had to go back and change something that they wrote over a year ago.&nbsp; I find this style unreadable.
</div>
<div>&nbsp;</div>
<div>--</div>
<div>Curt Hagenlocher</div>
<div><a href="mailto:curt@hagenlocher.org">curt@hagenlocher.org</a></div></div>