Vidyalelo
Python · Q69

MCQs for Python Strings: Exam

Programming · Python · question 69

Q69

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

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

Answer: Option C

Solution

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