Vidyalelo
Python · Q77

Python Introduction and basic

Programming · Python · question 77

Q77

What will be the output of the following Python code? print("Hello 0[0] and 0[1]".format(('foo', 'bin')))

A.
Hello ('foo', 'bin') and ('foo', 'bin')
B.
Error
C.
Hello foo and bin
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board