I\'m doing homework and I have all except this last problem figured out. I can\'t seem to figure out how to get a character not to show up if it\'s inserted at a larger insertio
I hope you have found the answer you are looking for already. But here I would like to suggest my version.
C = input("Choose your charecter to insert. ")
P = int(input("Choose your character's position. "))
S = input("Choose your string. ")
print(S if P>len(S) else S[:P] + C + S[P:])