Vidyalelo
Python · Q55

Python Introduction and basic

Programming · Python · question 55

Q55

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

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

Answer: Option B

Solution

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