QuestionQ38Verified/Python/PyEZCopy linkReport a problemAsk AstroTutorSave questionYou want to create a Python list to hold data. Which statement correctly accomplishes this task?AL = "0, 1, 2, 3, 4, 5"BL = {0, 1, 2, 3, 4, 5}CL = [0, 1, 2, 3, 4, 5]DL = (0, 1, 2, 3, 4, 5)Show AnswerAnswerExplanationPython list literals use square brackets ([]) with comma-separated elements. Strings use quotation marks, sets use curly braces, and tuples use parentheses.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion