index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
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
)