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 are the generators in python?
Tell me how does python handle the memory management?
How to use gui that comes with python to test your code?
How you can minimize the memcached server outages in your python development?
What is the key difference between java and python?
What statement is used in python if the statement is required syntactically but no action is required for the program?
What does the list comprehension do?
What animal sleeps the most?
How can I execute arbitrary python statements from c?
What is list comprehension? Give an example.
Tell me about a few string operations in python?
What does == mean in python?
What are the rules for a local and global variable in python?
What does the meaning of gil in python language?
What is python console?