Solved

Which of the Following Statements A), B) or C) Is

Question 1

Multiple Choice

Which of the following statements a) , b) or c) is false?


A) The following code creates a student_tuple with a first name, last name and list of grades: student_tuple = ('Amanda', 'Blue', [98, 75, 87])
B) Even though the tuple in Part (a) is immutable, its list element is mutable.
C) In the expression student_tuple[2][1], Python views student_tuple[2] as the element of the tuple containing the list [98, 75, 87], then uses [1] to access the list element containing 75.
D) All of the above statements are true.

Correct Answer:

verifed

Verified

Related Questions