MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following? print("Hello {0[0]} and {0[1]}".format(('foo', 'bin'))) |
| A. | Hello foo and bin |
| B. | Hello (‘foo’, ‘bin’) and (‘foo’, ‘bin’) |
| C. | Error |
| D. | None of the mentioned |
| Answer» B. Hello (‘foo’, ‘bin’) and (‘foo’, ‘bin’) | |