8] What is the output of the following program? (1 point)
print(d)
{'server': 'mpilgrim', 'uid': 'sa', 'database': 'pubs'} # output
d["retrycount"] = 3
print(d)
9] Please write a code for deleting key= 42 element. (1 point)
print(d)
{'server': 'mpilgrim', 'uid': 'sa', 'database': 'master', 42: 'douglas', 're
10] What is the output of the following program? (1 point)
print(li)
['a', 'b', 'mpilgrim', 'z', 'example']
print(li[-1])
1] What is the output of the following program? (1 point)
Li = ['a', 'b', 'mpilgrim', 'z', 'example']
Print(li[:-3])
(2 points)