Vidyalelo
Python · Q50

MCQs for Python Strings: Exam

Programming · Python · question 50

Q50

What will be the output of the following Python code? print("abcdef".center(0))

A.
cd
B.
abcdef
Answer
C.
error
D.
none of the mentioned

Answer: Option B

Solution

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