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
What is Java implementation of Python popularly know?
What is the object class?
How to get a list of class attributes in python?
How do I avoid having python class data shared among instances?
With python, how do you find out which directory you are currently in?
What can you use Python generator functions for?
What is the difference between local vs global in python?
Name few python shells?
How is python used in the real world?
How python does compile-time and run-time code checking?
Do you need python to run a python program?
What is argument in a function?
How does break work in python?
How will you convert an integer to a unicode character in python?
Making a flat list out of list of lists in python?