<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def replace_param_occurrences(string, params):
 """replace occurrences of the tuning params with their current value"""

    for k, v in params.items():
        string = string.replace(k, str(v))
    return string