Question 1
In the pseudocode, a dictionary D is written with curly brackets as key: value pairs. D[k] = v adds the pair or, if k is already a key, replaces its value. "k in D" is true when k is a key of D, length(D) is the number of keys, "delete D[k]" removes the pair, and "for each key k in D" visits every key once.
D = {"apple": 13, "melon": 9, "papaya": 10}D["apple"] = 2D["lemon"] = D["apple"] + 1Print D["lemon"] + D["melon"]What is printed?