String Split and Join

  • + 0 comments

    def split_and_join(line): # write your code here new_string = line.split(" ") word = "-".join(new_string)

    return word