Question: How to remove two elements from a string in python where the elements appears as [ ' a tb tc td '
How to remove two elements from a string in python where the elements appears as a tbtctd
and want to both the remove the ts and the ns from the string. I am using the code: Filecontent then I type: for i in Fileread: in the next line then indent and type Filecontent.append isplitt in the next line but it only removes the ts If I replace the t with an n the ts reappear and the ns go away. I need them both to go away.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
