String Split and Join

  • + 0 comments

    def split_and_join(line): line = line.split(" ") line = "-".join(line) print(line)