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
What is object () in python?
What is python used for at google?
What will be the output of the code:def foo (i=[])?
How does python handle memory management?
Differentiate between .py and .pyc files?
What is a closure in python?
Explain raise keyword?
How do you append to a file in python?
How to copy an object in python?
Explain different ways to create an empty numpy array in python?
How can you unsign or delete variable in python?
Write a program to reverse the string?
Write a program structure in python?
Can we write else statement try block in python?
Is python a good first language?