Computer Science, asked by amitjoshi79326, 4 months ago

A 6700
B 5600
C sooo
D 5000
Write code to modify
the amount of section A as 7600 C and D as 7000. Print
the changed object.​

Answers

Answered by valeriy69
1

nums = {

"a": 6700,

"b": 5600,

"c": 5000,

"d": 5000

}

nums["a"] = 7600

for k, v in nums.items():

if nums[k] == 5000:

nums[k] = 7000

print(nums)

#Above solution is in python 3

Similar questions