In python elements of the list are written inside :

2023

In python elements of the list are written inside :

  1. A.

    [ ]

  2. B.

    { }

  3. C.

    ( )

  4. D.

    < >

Attempted by 194 students.

Show answer & explanation

Correct answer: A

In Python, a list is defined using square brackets [ ], where elements are stored in an ordered sequence.

This syntax supports mutable and indexed data storage, making [ ] the correct notation.

Explore the full course: Hpsc Pgt Computer Science