Test Index
CBSE Class 12 Computer Science 2024 Paper Compartment
© examsnet.com
Question : 23 of 35
Marks:
+1,
-0
(a) Write the Python statement for each of the following tasks using BUILT-IN functions/methods only : (1+1=2)(i) To delete an element 10 from the list
lst.(ii) To replace the string "This" with "That" in the string str1.OR(b) A dictionary dict2 is copied into the dictionary dict1 such that the common key’s value gets updated. Write the Python commands to do the task and after that empty the dictionary dict1.
Go to Question: