Question 6
Consider the following snippets of code: Code-1 T = (4, 5, 6) T[0] = 10 Code-2 S = set() S.insert(2) Code-3 L = [] L.append(3) Select the most appropriate statement.
Only code-1 will throw an error in line-2
Only code-2 will throw an error in line-2
Only code-3 will throw an error in line-2
Code-1 and Code-2 will throw an error line-2
Code-2 and Code-3 will throw an error in line-2
All three code snippets will throw an error in line-2