Exellent suggestion!
thanks!
On Thu, Apr 3, 2008 at 2:17 PM, Sander Sweers <[EMAIL PROTECTED]>
wrote:
> Should be replying to the listSorry :(
>
> On Thu, Apr 3, 2008 at 11:14 AM, Sander Sweers <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Apr 3, 2008 at 8:21 AM, J
Ah thanks guy!!
Yeah, I guess I didn't mean which is the 'best'...
Just some options.
Thanks, I'll check out the ones you listed!
I'm on Windows btw.
Jeffrey Dates
www.kungfukoi.com
___
Tutor maillist - Tutor@python.o
n't recognize
Python context. Which, I suppose is fine, but would be nice if there was
one. Especially since I'm learning.
My run time environment is IDLE.
Any thoughts or preferences would be appreciated.
thanks!
Jeffrey Dates
www.kungfukoi.com
>
> > 3rd alternative: if c > 'm': print c
>
after futzing around with interpreting the problem, I ended up with a
solution that utilizes the character comparison.
"Write a program that prints the first letter of a string that comes after
'm' in the alphabet."
s = "this is my string"
for i in s:
That's Bob, and Tony, exactly what I'm looking for. ( not the answer, but
the path to it... )
Let me get back to you with my result after I study this a bit.
thanks!!
Jeffrey Dates
www.kungfukoi.com
On undefined, bob gailer <[EMAIL PROTECTED]> wrote:
> Jeffrey Dates w
Sorry forgot to post what I had so far:
for code in range(ord("a"), ord("z") +1):
if code == ord("m"):
print chr(code +1)
Now, this solves for the first letter after "M", but doesn't do it via a
string
thanks,
Jeffrey Dates
www.kun
ps, etc.
Just having trouble with syntax, and how to format my logic.
thank you in advance for any help or examples.
Jeffrey Dates
www.kungfukoi.com
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor