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

Pham Quỳnh

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

Tìm kiếm

Back
Top