How will you capitalize the first letter of string?
Answer Posted / glibwaresoftsolutions
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
How can you handle multiple exception in python?
How do you convert a list of integers to a comma separated string?
What is a class definition in python?
What are the different file processing modes supported by python?
How memcached should not be used in your python project?
Explain accessor and mutator methods in python?
What is the use of the // operator?
How many basic types of functions are available in python?
What is timestamp in python?
Explain different ways to create an empty numpy array in python?
What do you understand by *args and **kwarg python?
Can we learn python in a week?
Are there arrays in python?
Is set iterable in python?
What are uses of lambda?