Home / Report Question

Q. What is the output of the following program?
  • A. KeyError
  • B. {0: 1, 7: 0, 1: 1, 8: 0}
  • C. {0: 0, 7: 0, 1: 1, 8: 1}
  • D. {1: 1, 7: 2, 0: 1, 8: 1}

Correct Answer: C