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
Is real python free?
Are strings mutable in python?
How do you get a list of all the keys in a dictionary in python?
What is called loop?
Tell me what's the process to get the home directory using ‘~' in python?
Can you slice a tuple?
Does the same python code work on multiple platforms without any changes?
What is a lambda in math?
What is built-in type in python?
What does isnull mean in python?
What do you mean by list comprehension in python?
Explain identity operators in python?
Differentiate between the append() and extend() methods of a list?
How to walk through a list in a sorted order without sorting the actual list?
Is python in demand?