What is the return type and structure of the Python string function partition()?

PYQ EMRS TGT/PGT (ESSE) 2025

What is the return type and structure of the Python string function partition()?

  1. A.

    A Python list containing exactly 3 strings.

  2. B.

    A Python tuple containing exactly 3 strings.

  3. C.

    A Python list containing at least 3 strings.

  4. D.

    A Python tuple containing at least 3 strings.

Attempted by 942 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…