For the following Python statement: Txt = list('PEACE') print(Txt) What shall…

PYQ EMRS TGT/PGT (ESSE) 2023

For the following Python statement: Txt = list('PEACE') print(Txt) What shall be the output of print(Txt)?

  1. A.

    ['P', 'E', 'A', 'C', 'E']

  2. B.

    [P, E, A, C, E]

  3. C.

    Error in statement

  4. D.

    ['PEACE']

Attempted by 2747 students.

Sign up free to check your answer

Sign up free

Explore the full course: Emrs Cs Tier 2

Loading lesson…