Skip to content

Instantly share code, notes, and snippets.

@shudarshon
Last active February 22, 2018 18:08
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 shudarshon/a530066c93342142c78496d30bad6dc4 to your computer and use it in GitHub Desktop.
Save shudarshon/a530066c93342142c78496d30bad6dc4 to your computer and use it in GitHub Desktop.
def capitalize(string):
return " ".join(i.capitalize() for i in string.split(' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment