How will you capitalize the first letter of string?
Answer Posted / hr@tgksolutions.com
Python's capitalize() method capitalizes the first letter of a string. It gives back the original text if the string starts with a capital letter already.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is coercion?
How many hours does a python sleep?
Whenever you exit python, is all memory de-allocated?
Is there a switch..case statement in python?
Explain me five benefits of using python?
Is r language hard?
What is the incorrect declaration of a set?
Mention the use of the split function in Python?
Does python have polymorphism?
What are python iterators?
What happened if we call a key that is not present in dictionary and how to tackle that kind of error ?
python is case sensitive ?
How is exception handling done in python?
Why is using ‘eval’ a bad practice?
Does pandas recognize dates when importing data?