48.
What will be the output of the following Python statement?(python 3.xx)
>>>print(format("Welcome", "10s"), end = '#')
>>>print(format(111, "4d"), end = '#')
>>>print(format(924.656, "3.2f"))

50.
What will be the output of the following Python code snippet?
print('ab\ncd\nef'.splitlines())

Read More Section(Strings in Python)

Each Section contains maximum 100 MCQs question on Strings in Python. To get more questions visit other sections.