2 Réponses
+ 4
ord changing int to char using ASCII coding. chr is reverse operation of ord - it is changing char to ASCII code.
+ 1
ord is a built-in function that takes a char as argument and returns its range in the ASCII,
chr is the inverse of ord it returns a char representation of a given int