import remy_text = "!where??and!!or$$then:)"print(re.sub(r'[]!"$%&\'()*+,./:;=#@?[\\^_`{|}~-]+', r' \g<0> ', my_text).strip())
Standard input is empty
! where ?? and !! or $$ then :)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!