I&#39;d like<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
&gt; to see it possible to execute the code too.<br>
<br>
</div><a href="http://codepad.org/eRDY42Lj" target="_blank">http://codepad.org/eRDY42Lj</a><br></blockquote><div class="im"><br>***Hopefully, we&#39;d be able to allow interactive execution thereby allowing the user to guess ouptut first and witness the shuffle function in action.  I lvery much like the interactive shell used for the tutorial on the ruby site. <br>

<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">A dict would be nice too,  but I don&#39;t want so much in one snippit<br>
that it becomes hard to follow.<br>
<br>
I like that your code has some marketing embedded in it.<br></blockquote><div><br>***Thanks. The code as it stands is simple to follow, but it includes quite a few concepts: the use of a standard library funciton; list creation; list method; iteration; strings; integer; print output.    In hindsight, I guess it would remain simple and readable if we added a bit more flow control (such as an if statement) but I&#39;m not sure about dictionaires or classes.  These are soon discovered in the tutorial/documentation and are probably best avoided if this is just intended to give a taster.<br>
<br>&quot;&quot;&quot;Example Python Program&quot;&quot;&quot;<br><br>import random<br><br># Create and add to a list<br>python = []<br>python.append(&quot;Easy to read&quot;)<br>python.append(&quot;Fast to code&quot;)<br>
python.append(&quot;Quick to learn&quot;) <br>python.append(&quot;Modular and object oriented&quot;)<br>python.append(&quot;Open source and cross platform&quot;)<br><br># Shuffle list<br>random.shuffle(python)<br><br># Loop through list<br>
count = 1<br>print &quot;Python is ... &quot;<br>for each in python:<br>    print count,each<br>    count += 1<br><br>print &quot;Discover more at <a href="http://www.python.org">http://www.python.org</a>&quot;     <br><br>
<br></div></div><br>