Skip to content

Instantly share code, notes, and snippets.

@khornberg
Created August 20, 2019 15:42
Show Gist options
  • Save khornberg/b07bbbd7e7c50bf97754e35905c0d89b to your computer and use it in GitHub Desktop.
Save khornberg/b07bbbd7e7c50bf97754e35905c0d89b to your computer and use it in GitHub Desktop.
def convert(text):
return "".join([x.capitalize() for x in text.split('-')])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment