Examveda

What will be the output of the following Python code?
s='%s, %s & %s'
s%('mumbai', 'kolkata', 'delhi')

A. mumbai kolkata & delhi

B. Error

C. No output

D. 'mumbai, kolkata & delhi'

Answer: Option D


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators