Skip to content

Instantly share code, notes, and snippets.

@freeloki
Created March 30, 2020 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freeloki/3faec8028d4d7d21ce67fcfbe28547a4 to your computer and use it in GitHub Desktop.
Save freeloki/3faec8028d4d7d21ce67fcfbe28547a4 to your computer and use it in GitHub Desktop.
def split_and_join(line):
# write your code here
a = line.split(" ")
a="-".join(a)
return a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment