#!/usr/bin/python3

def search_replace(my_list, search, replace):

    newList = my_list.copy()
    count = 0

    for i in my_list:
        if i == search:

            newList[my_list.index(i, count)] = replace
            count = my_list.index(i) + 1

    return newList
