def ascii_value_string(str1):
    total = 0
    for char in str1:
        total += ord(char)
    return total