How will you capitalize the first letter of string?



How will you capitalize the first letter of string?..

Answer / nashiinformaticssolutions

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

More Python Interview Questions

How will you get all the keys from the dictionary?

0 Answers  


Is monkey patching considered good programming practice?

0 Answers  


Do you know what is the difference between deep and shallow copy?

0 Answers  


How Python performs Compile-time and Run-time code checking?

0 Answers  


Describe about the libraries of python?

0 Answers  






Why is python good for machine learning?

0 Answers  


Why are identifier names with a leading underscore disparaged?

0 Answers  


How memory is managed in python?

0 Answers  


What is with keyword in python?

0 Answers  


Tell me what are the built-in type does python provides?

0 Answers  


How will you convert an integer to a unicode character in python?

0 Answers  


How to remove values to a python array?

1 Answers  


Categories