12 of 1512 of 15 Items

Question
Which of these is a correct example of the creation of a list in Python?

(1 point)
Responses

names = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”]

names = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”]

names = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”)

names = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”)

list[names] = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”]

list[names] = [“James”, “Omar”, “Hazel”, “Lee”, “Mia”]

list(names) = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”)

list(names) = (“James”, “Omar”, “Hazel”, “Lee”, “Mia”)
Skip to navigation

1 answer

The correct example of creating a list in Python is:

names = ["James", "Omar", "Hazel", "Lee", "Mia"]
Similar Questions
  1. Scatter Plots & Data Analysis Unit Test12 of 1512 of 15 Items Question Use the table to answer the question. Age For Against No
    1. answers icon 7 answers
  2. Angle Pairs Unit Test12 of 1512 of 15 Items Question Use the image to answer the question. An illustration shows five rays
    1. answers icon 1 answer
    1. answers icon 1 answer
    1. answers icon 1 answer
more similar questions