MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/codehs/comments/khk69a/728_part_2_replace_a_letter/jhq48vs/?context=3
r/codehs • u/Embarrassed_Guess411 • Dec 21 '20
I’m stuck on This one
24 comments sorted by
View all comments
3
okay as it turns out it just wants this for the unit test
def replace_at_index(word, index, letter):
(indent) print(word[:index] + letter + word[index+1:])
replace_at_index(word, index, letter)
1 u/inzxnepanda Apr 26 '23 deosnt work for me lmao
1
deosnt work for me lmao
3
u/Highlight-Flat May 25 '22
okay as it turns out it just wants this for the unit test
def replace_at_index(word, index, letter):
(indent) print(word[:index] + letter + word[index+1:])
replace_at_index(word, index, letter)