Write a function to find the ascii value of total characters in a string.
def ascii_value_string(str1):
  for i in range(len(str1)):
   return ord(str1[i])
<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 total characters in a string.
def ascii_value_string(str1):
  for i in range(len(str1)):
   return ord(str1[i])[/INST]assert ascii_value_string("python")==112
assert ascii_value_string("Program")==80
assert ascii_value_string("Language")==76</s>