"Jeffrey Dates" <[EMAIL PROTECTED]> wrote > Let me get back to you with my result after I study this a bit. > thanks!!
One wee tip you might find useful. To test if a lertter comes after 'm you could a) create a string with all letters after m >>> after_m = 'nopqrstuvwxyz' then test whether your characters were in after_m: >>> if c in after_m: print c OR b) see if the ascii value of your character is bigger than the ascii value of 'm' And you can check the ascii value using ord() There are pros and cons to both approaches. Pick the one you like best, we can debate the ideal solution for any given case later... HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor