SyntaxFix
Write A Post
Hire A Developer
Questions
I decided to go with a for loop and just avoid the item in question, is it an acceptable alternative?
new = '' for item in str: if item == str[n]: continue else: new += item