Q96
What will be the output of the following Python code? print("abcdef".center(7, 1))
A.
1abcdef
B.
abcdef1
C.
abcdef
D.
error
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board