summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a147.py
blob: 1645073dbb3c4fd8ecc5bc887bdbf819032936f5 (plain)
1
2
3
import re
def capital_words_spaces(str1):
  return re.sub(r"(\w)([A-Z])", r"\1 \2", str1)