I would like to ‘Translate’ all Letter characters to numbers, like;
A = 0
B = 1
C = 2
But, If the input is/are already a number --> simply keep this number.
0 = 0
1 = 1
2 = 2
I have found a python component which ‘Translates’ the Letters into numbers correctly.
However, when I input an number There is an error.
Unfortunately I am not an python expert.
Any suggestion on how this could be done in python (e.g. using a try except statement)?