Replacing `+` in Python version with empty string