Exellent suggestion!<br>thanks!<br><br><br><br><div class="gmail_quote">On Thu, Apr 3, 2008 at 2:17 PM, Sander Sweers &lt;<a href="mailto:sander.sweers@gmail.com">sander.sweers@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Should be replying to the list....Sorry :(<br>
<div><div></div><div class="Wj3C7c"><br>
On Thu, Apr 3, 2008 at 11:14 AM, Sander Sweers &lt;<a href="mailto:sander.sweers@gmail.com">sander.sweers@gmail.com</a>&gt; wrote:<br>
&gt; On Thu, Apr 3, 2008 at 8:21 AM, Jeffrey Dates &lt;<a href="mailto:jdates@kungfukoi.com">jdates@kungfukoi.com</a>&gt; wrote:<br>
&gt; &nbsp;&gt; &gt; &gt; 3rd alternative: if c &gt; &#39;m&#39;: print c<br>
&gt;<br>
&gt; &nbsp;&lt;snip&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp;&gt; &quot;Write a program that prints the first letter of a string that comes after<br>
&gt; &nbsp;&gt; &#39;m&#39; in the alphabet.&quot;<br>
&gt; &nbsp;&gt;<br>
&gt; &nbsp;&gt; s = &quot;this is my string&quot;<br>
&gt; &nbsp;&gt; for i in s:<br>
&gt; &nbsp;&gt; &nbsp; if i &gt; &#39;m&#39;:<br>
&gt; &nbsp;&gt; &nbsp; &nbsp; print i<br>
&gt; &nbsp;&gt; &nbsp; &nbsp; break<br>
&gt;<br>
&gt; &nbsp;One potential problem you will have is with upper case letters.<br>
&gt;<br>
&gt; &nbsp;&gt;&gt;&gt; &#39;N&#39; &gt; &#39;m&#39;<br>
&gt; &nbsp;False<br>
&gt;<br>
&gt; &nbsp;To make input all lower case use .lower()<br>
&gt;<br>
&gt; &nbsp;&gt;&gt;&gt; &#39;N&#39;.lower() &gt; &#39;m&#39;<br>
&gt; &nbsp;True<br>
&gt;<br>
&gt; &nbsp;Greets<br>
&gt; &nbsp;Sander<br>
&gt;<br>
</div></div><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Tutor maillist &nbsp;- &nbsp;<a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</div></div></blockquote></div><br>