8. The following variables (TU is a meta-ancestor), please implement the required functions: Tu = ("Alex", [one, three, {"K1": ' V1 ', "K2": ["Age", "name"], "K3": (11,22,33)}, 44])
A. Features that tell Ganso # The ancestor is a read-only list
B. Can you tell me if the first element in the TU variable, "Alex", could be modified? #不能被修改
C. What is the value of "K2" in the TU variable? Is it possible to be modified? If you can, add an element, "Seven", to the
The value for "K2" is a list and the append code is as follows:
Tu = ("Alex", [11, 22, {"K1":'v1',"K2": [" Age","name"],"K3": (11,22,33)}, 44]) tu[1][2]['K2'].append ('Seven')Print(TU)
D. What is the value of "K3" in the TU variable? Is it possible to be modified? If you can, add an element, "Seven", to the
"K3" corresponds to a value of Ganso and cannot be modified
Python3.6 full Stack Development example [008]