What will be the output of the following Python code? [code]print("abcdef".center(7, '1'))[/code]

Trang Esther

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

Tìm kiếm

Back
Top