I have to capitalize the first character of a word without lowering any letters.
I've tried using title()
and capitalize()
but they change the whole word by lowering the capitalized letter(s).
word = "javaScript language"
I want the output to be JavaScript language.