10 lines
151 B
Python
Executable File

#!/usr/bin/python3
# Escape all spaces in the provided string with '\\'s
import sys
r = sys.stdin.read()
r = r.replace(" ", "\\ ")
print(r, end="")