Human: calling replace in multiple times. Assistant: 
Here is a Python function for calling replace multiple times

import re

def replace_in_multiple_times(text, pattern, replacement):
    """Replaces `pattern` with `replacement` in `text`."""
    return text.replace(pattern, replacement)

# Enter the string
string = "Hello"

# Enter the pattern
pattern = "Hello"

# Enter the replacement
replacement = "World"

# Calling the function
print((replace_in_multiple_times(string, pattern, replacement)))

#Example Output
# World

#Remember to inspect code for bugs.