Examveda

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"))

A.   Welcome# 111#924.66

B. Welcome#111#924.66

C. Welcome#111#.66

D. Welcome   # 111#924.66

Answer: Option D


This Question Belongs to Python Program >> Strings In Python

Join The Discussion

Related Questions on Strings in Python