1.

What is the output of the following? print("Hello {0} and {1}".format('foo', 'bin'))

A. Hello foo and bin
B. Hello {0} and {1} foo bin
C. Error
D. Hello 0 and 1
Answer» B. Hello {0} and {1} foo bin


Discussion

No Comment Found