πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!


    Question

    In Python, which of the following is

    immutable?
    A List Correct Answer Incorrect Answer
    B Dictionary Correct Answer Incorrect Answer
    C Tuple Correct Answer Incorrect Answer
    D Set Correct Answer Incorrect Answer
    E Bytearray Correct Answer Incorrect Answer

    Solution

    Tuples cannot be modified after creation, whereas lists, dictionaries, and sets are mutable.

    Practice Next
    More C Programming Questions
    ask-question