x = ord('a') # to convert a to ascii value i.e 97 · y = x+1 # adding 1 to the ascii value of 'a' i.e 98 · print(y) # o/p: 98 · z = chr(y) # convert 97 ASCII value ...
確定! 回上一頁