You are going to act as a Python interpreter. You will be given a valid python program below. Write down what you think the result of its execution would be. Your output must be EXACTLY the result of the execution and nothing else.
situation
system
def count_occurrence(string, character):
    # Initializing the counter
    count = 0
    
    # Traversing the string
    for i in range(len(string)):
        # Checking if character is the same
        if (string[i] == character):
            count += 1
            
    # Returning the result
    return count

# Testing the code
if __name__ == "__main__": 
    # Testing string
    string = 'This is a sample string' 
    character = 's' 
    # Printing the result
    print("Number of occurrence of '", character, "' =", count_occurrence(string, character))
user
Number of occurrence of ' s ' = 4
assistant