Hi,
Question;
I would like to ‘Translate’ all Letter characters to numbers, like;
A = 0
B = 1
C = 2
etc
But, If the input is/are already a number --> simply keep this number.
0 = 0
1 = 1
2 = 2
etc.
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)?
2020-10-26 Translate Letters into numbers but keep numbers.gh (8.6 KB)
thanks