python capitalize first letter only
I am aware .capitalize() capitalizes the first letter of a string but what if the first character is a integer? this 1bob 5sandy to this 1Bob 5Sandy 10 Answers 10
I am aware .capitalize() capitalizes the first letter of a string but what if the first character is a integer? this 1bob 5sandy to this 1Bob 5Sandy 10 Answers 10
How do I make the first letter of a string uppercase, but not change the case of any of the other letters? For example: “this is a test” → “This is a test” “the Eiffel Tower” → “The Eiffel Tower” “/index.html” → “/index.html” 11 117