Start learning →
Home › Olympiad (Class 11) › Computer Science › Python Strings Lists and Tuples › A Python list is written using comma separated v…

A Python list is written using comma separated values enclosed in:

ARound brackets
BCurly brackets
CAngle brackets
DSquare brackets
Answer & Solution
Correct answer: D. Square brackets
1. Each collection type has its own punctuation. 2. Lists use one particular pair of marks. 3. Those are square brackets. _Source: OpenStax Introduction to Python Programming, Chapter 3._
Practise this question with Quill — Olympiad (Class 11) →
Related questions