문제 링크

정답 :

def solution(my_string, alp):
    
    return my_string.replace(alp, alp.upper())