Home / CSE MCQs / Python MCQs :: Discussion

Discussion :: Python MCQs

  1. Suppose t = (1, 2, 4, 3), which of the following is incorrect?

  2. A.
    print(t[3])
    B.
    t[3] = 45
    C.
    print(max(t))
    D.
    print(len(t))

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Values cannot be modified in the case of tuple, that is, tuple is immutable.


Be The First To Comment