Capitalize!

  • + 7 comments

    Great. You can do this in one line:

    ' '.join(i.capitalize() for i in string.split(' '))