Which of these is a correct example of the creation of a list in Python? A. names = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”] B. names = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”) C. list[names] = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”] D. list(names) = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”)

Respuesta :

Answer:

A.

The round brackets () are called tuples. Tuples are another way of storing data, and are slightly different from lists.

Lists are changeable.

Tuples are not changeable outside their codeline.