Suppose L is a list and T is a tuple. Evaluate the following Python statement…

PYQ EMRS TGT/PGT (ESSE) 2025

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)

  1. A.

    Always valid

  2. B.

    Always invalid

  3. C.

    Results in a Type Error

  4. D.

    Valid only if data types match in both (e.g., all integers or all strings)

Attempted by 284 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…