Untitled
unknown
python
2 years ago
244 B
5
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...