-2

If I want to Capitalized Just the first letter of inputed string of word and int how can i do it like: 2Bob SANdy wIwi

output: 2bob Sandy Wiwi

the "b" in Bob should be lowercase in the result

Please need some help here, thx

1 Answers1

1

You can use the str.title() method on your string.

"2Bob SANdy wIwi".title()
blue_note
  • 27,712
  • 9
  • 72
  • 90