Examveda

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

A. * abcdef *

B. * Abcdef *

C. *abcdef *

D. * abcdef*

Answer: Option D


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python