Pyhton Remove Ith Character From String
# Python3.x Python Remove Character at Specific Position from String
[ Python3 Examples](#)
Given a string, then remove the character at a specific position:
## Example
test_str =""
# Output the original string
print("Original string is : " + test_str)
# Remove the third character 'n'
new_str =""
for i in range(0,len(test_str)):
if i !=2:
new_str = new_str + test_str
print("String after removal is : " + new_str)
Executing the above code, the output result is:
Original string is : TutorialString after removal is : Ruoob
[ Python3 Examples](#)
YouTip