Examveda

What will be the output of the following Python code?
D=dict(p='Exam', q='Veda')
'{p}{q}'.format(**D)

A. Error

B. ExamVeda

C. Exam Veda

D. {'Exam', 'Veda'}

Answer: Option B


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators