In python elements of the list are written inside :
2023
In python elements of the list are written inside :
- A.
[ ]
- B.
{ }
- C.
( )
- 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.