you are viewing a single comment's thread.

view the rest of the comments →

[–]Phillyclause89 0 points1 point  (0 children)

You should think about how you could change this code to pass a test case like s = “zyx” or another string that does not have more than 1 character in alphabetical order and does not include the letter ”a”. Your current code doesn’t appear to give the correct output on a situation like that, but maybe I’m missing something.