What is the expected behavior of the following code?
A. it outputs None
B. 0it outputs list assignment index out of range
C. the code is erroneous and it will not execute
D. it outputs 'tuple' object does not support item assignment
Answer:D
What is the expected behavior of the following code?
A. it outputs None B. 0it outputs list assignment index out of range C. the code is erroneous and it will not execute D. it outputs 'tuple' object does not support item assignment