I have a code, but I don't really know python, so I have a problem. I know that the insert isn't right for strings but I don't know how can I insert?
original_string = input("What's yout sentence?")
add_character = input("What char do you want to add?")
slice = int(input("What's the step?"))
for i in original_string[::slice]:
original_string.insert(add_character)
print("The string after inserting characters: " + str(original_string))
So I need help, how can I rewrite this? That's the homework for university and we haven't studied def so I can't use it