Created
August 20, 2019 15:42
-
-
Save khornberg/b07bbbd7e7c50bf97754e35905c0d89b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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