in python, is it possible to write a while loop and all its contents on one line?
<p>I ask because I am trying to mess with a irc bot in my friends channel, and can't for the life of me get it to work</p>

<p>basically the bot is phenny which has a python interpreter and I am trying to get it to print out the string "linux open source linux open source" 100 times</p>

<pre><code>x = 9000; while x &gt;1: x = x - 1; print "linux"
</code></pre>

<p>and</p>

<pre><code>x=9000; while x&gt;0: print 'linux'; x = x-1 .
</code></pre>

<p>are what I have tried so far, and I am not sure how I would get this all on one line.</p>
