String Split and Join

  • + 0 comments

    ****def split_and_join(h): h=line.split(" ") h="-".join(h) return(h)

    if name =='main':line = input() result=split_and_join(line)print(result)