Computer Science, asked by syedimram786, 3 months ago

write a program to create a dictionary namely Dct with 10 keys 0...9,each having same value as 200.update the first and last value by adding 200 to each of them.

in python. ​

Answers

Answered by atulkumargpt
0

Answer:

Dct ={}

for i in range(10) :

Dct[f"{i}"] = 200

Dct["1"] = 200+200

Dct["9"] = 200+200

print (Dct)

Similar questions