I have a text like that
Or like that
I want to insert tags into them:
<tag1>I have a text like that</tag1>
<tag1>Or like that</tag1>
how can I achieve this in python ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sounds more like you want to insert text between tags. Right?
If it’s a list of strings: