Trang Esther
New member
What will be the output of the following Python code?
A. 1abcdef
B. abcdef1
C. abcdef
D. error
Code:
print("abcdef".center(7, '1'))
B. abcdef1
C. abcdef
D. error