PR3_Steinberger/SL2/s2_a2.py

4 lines
121 B
Python

import re
txt = "If the the problem is textual, use the the re module"
txt = re.sub("the the", "the", txt)
print(txt)