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

What will be the output of the following Python code?
Code:
print("abcdef".center(10, '12'))
A. 12abcdef12
B. abcdef1212
C. 1212abcdef
D. error
 

Tìm kiếm

Back
Top