Home / Programming MCQs / Python MCQs / Question

P

Parvesh Kanani • 2.84K Points
Extraordinary

Q. The output of this Python code would be:

Code:
s='{0}, {1}, and {2}’
s.format(‘hi’, ‘great’, ‘day’)
(A) ‘hi, great, and day’
(B) ‘hi, great, day’
(C) ‘hi great and day’
(D) Error

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.