Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import camelcase c = camelcase.CamelCase() txt = "lorem ipsum dolor sit amet" print(c.hump(txt)) #This method capitalizes the first letter of each word.
Lorem Ipsum Dolor Sit Amet