0
Can any one answer what is meant by "ord" and "chr" in ASCII code?
Fullform
2 Respuestas
+ 5
ord('a')
97
using ord you get in return the ASCII value in integer of a char.
chr(97)
'a'
using chr you get in return the char of a ASCII value given in integer format.
+ 2
https://docs.python.org/3/library/functions.html#ord
https://docs.python.org/3/library/functions.html#chr