To convert Python char to int, use the ord() method. The ord() function accepts a character and returns the ASCII value of that character.
確定! 回上一頁