What is the expected behavior of the following code?
What is the expected behavior of the following code?

A . it outputs list assignment index out of range
B . the code is erroneous and it will not execute
C . it outputs <class ‘IndexError’>
D . it outputs error
Answer: A
Latest PCAP-31-03 Practice Questions with 109 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments