Skip to content

Commit a023e31

Browse files
authored
Create main.py
1 parent 3533106 commit a023e31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Mutations/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def mutate_string(string, position, character):
2+
string=string[:position]+character+string[position+1:]
3+
4+
return string
5+
if __name__ == '__main__':

0 commit comments

Comments
 (0)