Vidyalelo
Python · Q155

MCQs for Python Strings: Exam

Programming · Python · question 155

Q155

What will be the output of the following Python code? print("abc. DEF".capitalize())

A.
abc. def
B.
ABC. DEF
C.
Abc. def
Answer
D.
Abc. Def

Answer: Option C

Solution

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