Informatics Practices
Find errors and rewrite the same after correcting the following code:
d1.len()
Related Questions
Find errors and rewrite the same after correcting the following code:
d1.value()Find errors and rewrite the same after correcting the following code:
d1.gets(4, 80)Find errors and rewrite the same after correcting the following code:
d1.clears()Suppose
>>> d1 = { 1 : 'one' , 2: 'two' , 3: 'three' , 4: 'four'} >>> d2 = { 5 :'five', 6:'six' }Write the output of the following code:
>>> d1.items() >>> d1.keys() >>> d1.values() >>> d1.update(d2) >>> len(d1)