Vidyalelo
Python · Q89

MCQs for Python Strings: Exam

Programming · Python · question 89

Q89

What will be the output of the following Python code? print('*', "abcde".center(6), '*', sep='')

A.
* abcde *
B.
* Abcde *
C.
*abcde *
Answer
D.
* abcde*

Answer: Option C

Solution

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