Vidyalelo
Python · Q10

MCQs for Python Strings: Exam

Programming · Python · question 10

Q10

What is the output of the following code:string = "Python"print(string.capitalize())

A.
Python
Answer
B.
python
C.
PYthon
D.
pyThon

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board