What is the syntax to declare a list?

<name of list> = [<value1>, <value2>..etc]
#examples
people = ['Sally', 1990, 'John', 1978]
nombers = [1, 2, 3, 4, 5]
letters = ["a", "b", "c", "d"]

 

 

Advertisements