Untitled
unknown
python
3 years ago
244 B
7
Indexable
import re
def read_txt():
f = open("data.txt","r")
return f.readlines()
def formatSMS(SMS):
newSMS = re.escape(SMS.replace("\n", " "))
return newSMS
print(read_txt())
for a in read_txt():
print(formatSMS(a))
Editor is loading...