ЁЯУв Too many exams? DonтАЩt know which one suits you best? Book Your Free Expert ЁЯСЙ call Now!


    тЪб Month End Offer - Flat 52% Off On All Courses! Enroll Now тЪб
    00:00:00 AM Left

    Question

    What is the output of the following Python code

    snippet? ┬а┬а x = [1, 2, 3] ┬а┬а y = x ┬а┬а x.append(4) ┬а┬а print(y)
    A [1, 2, 3] Correct Answer Incorrect Answer
    B [1, 2, 3, 4] Correct Answer Incorrect Answer
    C [4, 3, 2, 1] Correct Answer Incorrect Answer
    D Error Correct Answer Incorrect Answer

    Solution

    [1, 2, 3, 4]

    Practice Next
    More IT Networking Questions

    Relevant for Exams:

    ask-question