Write a function to find the ascii value of a character.
def ascii_value(k):
  ch=k
  return ord(ch)
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to find the ascii value of a character.
def ascii_value(k):
  ch=k
  return ord(ch)[/INST]assert ascii_value('A')==65
assert ascii_value('R')==82
assert ascii_value('S')==83</s>