Đặng Thị Ngọc Diệp
New member
What will be the output of the following Python code?
A. 12abcdef12
B. abcdef1212
C. 1212abcdef
D. error
Code:
print("abcdef".center(10, '12'))
B. abcdef1212
C. 1212abcdef
D. error