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
Why numpy is used in python?
What is python's parameter passing mechanism?
What will be the output of data[-2] from the list data = [1,5,8,6,9,3,4]?
What are the generators in python?
What do you mean by list comprehension?
What are loops in python?
Which is better PHP or Python?
What is orm in python?
What is Dict and List comprehensions are?
What does this mean: *args, **kwargs? And why would we use it?
What is the main use of python?
What is the purpose of pythonpath environment variable?
Why is epoch 1970?
Explain me what is the statement that can be used in python if the program requires no action but requires it syntactically?
How to minimize the memcached server outages in your python development?