Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Avisikta-Majumdar/HackerRank_Python_Solutions
/ Mutations.py
File
Mutations.py
Mutations.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
mutate_string(string, position, character):
2
return
string[:position]+character + string[(position+1):]
3
4
if
__name__ ==
'__main__'
:
Callers
nothing calls this directly
Calls
1
mutate_string
Function · 0.85
Tested by
no test coverage detected