How will you capitalize the first letter of string?
Answer Posted / 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 View All Answers
What is a lambda in math?
Explain how can you generate random numbers in python?
What is class inheritance in python?
Explain database connection in python flask?
How does the ternary operator work in python?
Which the command you use to exit help window in python?
How to pass indefinite number of arguments to any function?
Why do u want this job?
What are views in python?
What is self in oop of python?
How to install python on windows and set path variable?
What is list constructor in python?
Can you explain this why are we getting an error here?
What is the meaning of stdin in python?
How to use *args and **kwargs in python?