4. Dictionary dl={1:10,2:25,3:30} is given. Write a code to
i) append 4: 40 in the given dictionary
ii) Update 2:25 to 2:20 in the given dictionary
Answers
Answered by
0
dl[4] = 40
dl[2] = 20
Similar questions
Computer Science,
1 month ago
Hindi,
1 month ago
Math,
1 month ago
Social Sciences,
3 months ago
Math,
3 months ago
Chemistry,
8 months ago
Chemistry,
8 months ago