如何用"*"替换下面出现的第一个字母?

Jos*_*bal -4 python string methods replace

我被困在这上面,我不知道该怎么做.

# returns a string that changes all occurrences of its first char have been changed to '*'


def fix_start(str):
    results = []
    str.startswith(str[1])
    results = 
Run Code Online (Sandbox Code Playgroud)

例如:给定string ='bubble'它应该返回:bu**le

Dor*_*ias 7

def fix_start(s):
    return s[0]+ s[1:].replace(s[0],'*')
Run Code Online (Sandbox Code Playgroud)