def score(goal, test_string):
    """compare two input strings and return decimal value of quotient likeness"""
    #goal = 'methinks it is like a weasel'
    num_equal = 0
    for i in range(len(goal)):
        if goal[i] == test_string[i]:
            num_equal += 1
    return num_equal / len(goal)