Suppose L is a list and T is a tuple. Evaluate the following Python statement…
Suppose L is a list and T is a tuple. Evaluate the following Python statement and choose the correct observation regarding its execution:
L.extend(T)
- A.
Always valid
- B.
Always invalid
- C.
Always invalid
- D.
Valid only if data types match in both (e.g., all integers or all strings)
Attempted by 955 students.
Sign up free to check your answer
Sign up freeLoading lesson…

