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
| 归档时间: |
|
| 查看次数: |
43 次 |
| 最近记录: |