Question

    Which of the following brackets are used in python to create a list?

    A () Correct Answer Incorrect Answer
    B [ ] Correct Answer Incorrect Answer
    C { } Correct Answer Incorrect Answer
    D Both 1 and 2 Correct Answer Incorrect Answer
    E None of these Correct Answer Incorrect Answer

    Solution

    The correct answer is B

    Practice Next