I have a string:
i = '12345678901'
How to check (with python) if one before last digit in a string is even or odd ?
In a string above I want function to return or print "even".
I found some examples but they are in C and i don't know how to use it in Python