String Split and Join

  • + 0 comments

    def split_and_join(line): words = line.split(" ") result="-".join(words) return result