import rea = "Here is a shortString with various issuesWith spacing"new_string = re.sub(r"([a-z])([A-Z])", r"\1 \2", a)print(new_string)
Standard input is empty
Here is a short String with various issues With spacing
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!