Published
- 1 min read
python check if character before character in alphabet
The solution for this is noted below
python check if character before character in alphabet
Solution
In [1]: 'A' < 'Z'
Out[1]: True
In [2]: 'Z' < 'A'
Out[2]: False
In [3]: 'A' < 'A'
Out[3]: False
Try other methods by searching on the site. That is if this doesn’t work