Test Index

CBSE Class 12 Computer Science 2023 Paper Compartment Get it on Google PlayDownload on the App Store

© examsnet.com
Question : 21 of 35
Marks: +1, -0
(a) Given is a Python string declaration : (1)
NAME = "Learning Python is Fun"
Write the output of : print(NAME[-5:-10:-1])
(b) Write the output of the code given below : (1)
dict1={1:["Rohit",20], 2:["Siya",90]}
dict2={1:["Rahul",95], 5:["Rajan",80]}
dict1.update(dict2)
print(dict1.values())
Advertisements
Go to Question: