Examveda

What will be the output of the following Python code snippet?
'%d %s %g you' %(1, 'hello', 4.0)

A. Error

B. 1 hello you 4.0

C. 1 hello 4 you

D. 1 4 hello you

Answer: Option C


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators