3 lines
95 B
Python
3 lines
95 B
Python
import re
|
|
text = 'Python Exercises, PHP exercises.'
|
|
print(re.sub("[ ,.]", ":", text, 2)) |