Thank you very much for the feedback Luke. I have taken it onboard. I especially like the .lower().strip()[0] method ^^<br><br>Regards,<br>G<br><br><div class="gmail_quote">On 4 November 2010 22:38, Luke Paireepinart <span dir="ltr">&lt;<a href="mailto:rabidpoobear@gmail.com" target="_blank">rabidpoobear@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#FFFFFF"><div>Also for your confirm entries read about sentinel values for while loops. It saves you repeating the conditional in the loop body. And you might want to .lower().strip()[0] the input choice so that they can use y, Y, yes, or whatever. Remember, users suck at generating accurate and correct input so don&#39;t give them any credit you can avoid.<div>

<br><br>-----------------------------<div>Sent from a mobile device with a bad e-mail client.</div><div>-----------------------------</div></div></div><div><div><br>On Nov 4, 2010, at 3:10 PM, Glen Clark &lt;<a href="mailto:glenuk@gmail.com" target="_blank">glenuk@gmail.com</a>&gt; wrote:<br>

<br></div><div></div></div><div><div></div><div><blockquote type="cite"><div>Hello,<br><br>I have completed my first python script. This is after watching a video guide on python and is my first attempt at writing code in python. While the code is not very useful I got the idea for it when googling &quot;python projects for beginners&quot;.<br>


<br>The idea was to create a script that asked the user to input a list of names and allow the user to change a name if he wanted before confirming the entries.<br><br>I tried to incorporate what I had learnt from the videos, such as conditionals, error handling, functions etc... and write it how I would write code in future.<br>


 <br>Please if you are kind enougth to take the time to provide feedback I would appreciate that it is constructive :)<br><br>The script is here: <a href="http://bpaste.net/show/10658/" target="_blank"></a><a href="http://bpaste.net/show/10658/" target="_blank">http://bpaste.net/show/10658/</a><br>


</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><div><br><span>Tutor maillist  -  <a href="mailto:Tutor@python.org" target="_blank"></a><a href="mailto:Tutor@python.org" target="_blank">Tutor@python.org</a></span><br>

<span>To unsubscribe or change subscription options:</span><br><span><a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a></span><br></div></div></blockquote>

</div></blockquote></div><br>