adplus-dvertising
frame-decoration

Question

What is the output of the code shown below?
'%s' %((1.23,),)

a.

‘(1.23,)’

b.

1.23,

c.

(,1.23)

d.

‘1.23’

Posted under Python

Answer: (a).‘(1.23,)’

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the code shown below?