Data={‘Name’ : ‘Peter’ , ‘Age’ : 35 , ‘City’ : ‘Jamshedpur’ }
Data [‘Age’] = 25 Data
[‘State’]= ‘Jharkhand’ Print ( Data )
What is the output of the given program?
a) {‘Name’ : ‘Peter’ , ‘Age’ : 25 , ‘City’ : ‘Jamshedpur’ }
b) {‘Name’ : ‘Peter’ , ‘Age’ : 35 , ‘State’ : ‘Jharkhand’ }
c) {‘Name’ :‘Peter’ , ‘Age’ :35 , ‘City’ :‘Jamshedpur’ , ‘State’: ‘Jharkhand’}
d) {‘Name’ :‘Peter’ , ‘Age’ :25 , ‘City’ :‘Jamshedpur’ , ‘State’: ‘Jharkhand’}
Answers
Answered by
0
Answer:
A) { ' Name' : ' peter' , ' Age ' : 25 , ' City ' : 'Jamshedpur ' }
Similar questions