Multiple choice

What is used to indicate an array/list?

  1. curly brackets

  2. round brackets

  3. square brackets

  4. a colon :

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In most programming languages, including Python, square brackets are the standard syntax used to define or access elements in an array or list. Curly brackets are typically used for sets or dictionaries, and round brackets are used for tuples or function calls.