So need to check if a string\'s characters are ascending alphabetically and if that ascent is evenly spaced.
a = \"abc\" b = \"ceg\"
So a i
only hints for home work,,,
you can try to make use of something from this
In [100]: z = 'abc' In [101]: [ord(x) for x in z] Out[101]: [97, 98, 99]
then there can be several logics to check if the elements are evenly spaced :)